cvs: pecl /demoext php_demoext.c php_demoext.h

From: Date: Mon, 31 Mar 2008 09:32:22 +0000
Subject: cvs: pecl /demoext php_demoext.c php_demoext.h
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-10131@lists.php.net to get a copy of this message
sfox Mon Mar 31 09:32:22 2008 UTC Modified files: /pecl/demoext php_demoext.c php_demoext.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. @helly: yes I do know this one's just a demo ;) http://cvs.php.net/viewvc.cgi/pecl/demoext/php_demoext.c?r1=1.5&r2=1.6&diff_format=u Index: pecl/demoext/php_demoext.c diff -u pecl/demoext/php_demoext.c:1.5 pecl/demoext/php_demoext.c:1.6 --- pecl/demoext/php_demoext.c:1.5 Sun Feb 3 00:38:22 2008 +++ pecl/demoext/php_demoext.c Mon Mar 31 09:32:22 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_demoext.c,v 1.5 2008/02/03 00:38:22 helly Exp $ */ +/* $Id: php_demoext.c,v 1.6 2008/03/31 09:32:22 sfox Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -626,6 +626,7 @@ { php_info_print_table_start(); php_info_print_table_header(2, "demoext support", "enabled"); + php_info_print_table_row(2, "version", PHP_DEMOEXT_VERSION); php_info_print_table_end(); /* Remove comments if you have entries in php.ini @@ -649,7 +650,7 @@ PHP_RSHUTDOWN(demoext), /* Replace with NULL if there's nothing to do at request end */ PHP_MINFO(demoext), #if ZEND_MODULE_API_NO >= 20010901 - "0.1", /* Replace with version number for your extension */ + PHP_DEMOEXT_VERSION, #endif STANDARD_MODULE_PROPERTIES }; http://cvs.php.net/viewvc.cgi/pecl/demoext/php_demoext.h?r1=1.1&r2=1.2&diff_format=u Index: pecl/demoext/php_demoext.h diff -u pecl/demoext/php_demoext.h:1.1 pecl/demoext/php_demoext.h:1.2 --- pecl/demoext/php_demoext.h:1.1 Sat Feb 24 16:22:58 2007 +++ pecl/demoext/php_demoext.h Mon Mar 31 09:32:22 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_demoext.h,v 1.1 2007/02/24 16:22:58 helly Exp $ */ +/* $Id: php_demoext.h,v 1.2 2008/03/31 09:32:22 sfox Exp $ */ #ifndef PHP_DEMOEXT_H #define PHP_DEMOEXT_H @@ -24,6 +24,8 @@ extern zend_module_entry demoext_module_entry; #define phpext_demoext_ptr &demoext_module_entry +#define PHP_DEMOEXT_VERSION "0.1.0-dev" + #ifdef PHP_WIN32 #define PHP_DEMOEXT_API __declspec(dllexport) #else

« previous php.pecl.cvs (#10131) next »