cvs: pecl /dbplus dbplus.c php_dbplus.h
| From: | Steph Fox | Date: | Mon, 31 Mar 2008 09:31:34 +0000 |
| Subject: | cvs: pecl /dbplus dbplus.c php_dbplus.h | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10130@lists.php.net to get a copy of this message | ||
sfox Mon Mar 31 09:31:34 2008 UTC
Modified files:
/pecl/dbplus dbplus.c php_dbplus.h
Log:
- Bring the majority of PECL extensions into line with macro/x.x.x versioning.
- Please use the -dev tag during the development cycle so that snapshots can easily be
distinguished from releases.
http://cvs.php.net/viewvc.cgi/pecl/dbplus/dbplus.c?r1=1.2&r2=1.3&diff_format=u
Index: pecl/dbplus/dbplus.c
diff -u pecl/dbplus/dbplus.c:1.2 pecl/dbplus/dbplus.c:1.3
--- pecl/dbplus/dbplus.c:1.2 Tue Mar 30 18:10:06 2004
+++ pecl/dbplus/dbplus.c Mon Mar 31 09:31:34 2008
@@ -125,7 +125,7 @@
PHP_RINIT(dbplus), /* Replace with NULL if there's nothing to do at request start */
PHP_RSHUTDOWN(dbplus), /* Replace with NULL if there's nothing to do at request end */
PHP_MINFO(dbplus),
- NO_VERSION_YET,
+ PHP_DBPLUS_VERSION,
STANDARD_MODULE_PROPERTIES
};
@@ -229,6 +229,7 @@
{
php_info_print_table_start();
php_info_print_table_header(2, "dbplus support", "enabled");
+ php_info_print_table_row(2, "version", PHP_DBPLUS_VERSION);
php_info_print_table_end();
/* Remove comments if you have entries in php.ini
http://cvs.php.net/viewvc.cgi/pecl/dbplus/php_dbplus.h?r1=1.1&r2=1.2&diff_format=u
Index: pecl/dbplus/php_dbplus.h
diff -u pecl/dbplus/php_dbplus.h:1.1 pecl/dbplus/php_dbplus.h:1.2
--- pecl/dbplus/php_dbplus.h:1.1 Tue Jun 24 08:52:03 2003
+++ pecl/dbplus/php_dbplus.h Mon Mar 31 09:31:34 2008
@@ -21,6 +21,8 @@
extern zend_module_entry dbplus_module_entry;
#define phpext_dbplus_ptr &dbplus_module_entry
+#define PHP_DBPLUS_VERSION "1.0.0-dev"
+
#ifdef PHP_WIN32
#define PHP_DBPLUS_API __declspec(dllexport)
#else