cvs: pecl /date date.c php_date.h

From: Date: Mon, 31 Mar 2008 09:30:35 +0000
Subject: cvs: pecl /date date.c php_date.h
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-10127@lists.php.net to get a copy of this message
sfox Mon Mar 31 09:30:35 2008 UTC Modified files: /pecl/date date.c php_date.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/date/date.c?r1=1.15&r2=1.16&diff_format=u Index: pecl/date/date.c diff -u pecl/date/date.c:1.15 pecl/date/date.c:1.16 --- pecl/date/date.c:1.15 Mon Mar 29 20:02:45 2004 +++ pecl/date/date.c Mon Mar 31 09:30:35 2008 @@ -15,7 +15,7 @@ | Author: Pierre-Alain Joye <paj@pearfr.org> | +----------------------------------------------------------------------+ - $Id: date.c,v 1.15 2004/03/29 20:02:45 helly Exp $ + $Id: date.c,v 1.16 2008/03/31 09:30:35 sfox Exp $ */ #ifdef HAVE_CONFIG_H @@ -379,7 +379,7 @@ NULL,//PHP_RSHUTDOWN(date), /* Replace with NULL if there's nothing to do at request end */ PHP_MINFO(date), #if ZEND_MODULE_API_NO >= 20010901 - "0.1", /* Replace with version number for your extension */ + PHP_DATE_VERSION, #endif STANDARD_MODULE_PROPERTIES }; @@ -555,6 +555,7 @@ { php_info_print_table_start(); php_info_print_table_header(2, "date support", "enabled"); + php_info_print_table_row(2, "version", PHP_DATE_VERSION); php_info_print_table_end(); } /* }}} */ http://cvs.php.net/viewvc.cgi/pecl/date/php_date.h?r1=1.4&r2=1.5&diff_format=u Index: pecl/date/php_date.h diff -u pecl/date/php_date.h:1.4 pecl/date/php_date.h:1.5 --- pecl/date/php_date.h:1.4 Fri Mar 5 12:21:10 2004 +++ pecl/date/php_date.h Mon Mar 31 09:30:35 2008 @@ -15,7 +15,7 @@ | Author: Pierre-Alain Joye <paj@pearfr.org> | +----------------------------------------------------------------------+ - $Id: php_date.h,v 1.4 2004/03/05 12:21:10 pajoye Exp $ + $Id: php_date.h,v 1.5 2008/03/31 09:30:35 sfox Exp $ */ #ifndef PHP_DATE_H @@ -25,6 +25,8 @@ extern zend_module_entry date_module_entry; #define phpext_date_ptr &date_module_entry +#define PHP_DATE_VERSION "0.2.0-dev" + #ifdef PHP_WIN32 #define PHP_DATE_API __declspec(dllexport) #else

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