cvs: pecl /colorer colorer.cpp php_colorer.h

From: Date: Mon, 31 Mar 2008 09:28:36 +0000
Subject: cvs: pecl /colorer colorer.cpp php_colorer.h
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-10122@lists.php.net to get a copy of this message
sfox Mon Mar 31 09:28:36 2008 UTC Modified files: /pecl/colorer colorer.cpp php_colorer.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/colorer/colorer.cpp?r1=1.1&r2=1.2&diff_format=u Index: pecl/colorer/colorer.cpp diff -u pecl/colorer/colorer.cpp:1.1 pecl/colorer/colorer.cpp:1.2 --- pecl/colorer/colorer.cpp:1.1 Tue Jan 25 06:53:04 2005 +++ pecl/colorer/colorer.cpp Mon Mar 31 09:28:36 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: colorer.cpp,v 1.1 2005/01/25 06:53:04 blindman Exp $ */ +/* $Id: colorer.cpp,v 1.2 2008/03/31 09:28:36 sfox Exp $ */ /* {{{ includes */ #include<colorer/ParserFactory.h> @@ -93,7 +93,7 @@ PHP_RSHUTDOWN(colorer), /* Replace with NULL if there's nothing to do at request end */ PHP_MINFO(colorer), #if ZEND_MODULE_API_NO >= 20010901 - "0.1", /* Replace with version number for your extension */ + PHP_COLORER_VERSION, #endif STANDARD_MODULE_PROPERTIES }; @@ -152,9 +152,10 @@ PHP_MINFO_FUNCTION(colorer) { php_info_print_table_start(); - php_info_print_table_row(2, "colorer support", "enabled"); + php_info_print_table_header(2, "colorer support", "enabled"); php_info_print_table_row(2, "colorer version", colorer_get_version()); - php_info_print_table_row(2, "colorer extension version", "$Id: colorer.cpp,v 1.1 2005/01/25 06:53:04 blindman Exp $"); + php_info_print_table_row(2, "extension version", PHP_COLORER_VERSION); + php_info_print_table_row(2, "CVS Id", "$Id: colorer.cpp,v 1.2 2008/03/31 09:28:36 sfox Exp $"); php_info_print_table_end(); /* Remove comments if you have entries in php.ini http://cvs.php.net/viewvc.cgi/pecl/colorer/php_colorer.h?r1=1.1&r2=1.2&diff_format=u Index: pecl/colorer/php_colorer.h diff -u pecl/colorer/php_colorer.h:1.1 pecl/colorer/php_colorer.h:1.2 --- pecl/colorer/php_colorer.h:1.1 Tue Jan 25 06:53:04 2005 +++ pecl/colorer/php_colorer.h Mon Mar 31 09:28:36 2008 @@ -1,10 +1,12 @@ -/* $Id: php_colorer.h,v 1.1 2005/01/25 06:53:04 blindman Exp $ */ +/* $Id: php_colorer.h,v 1.2 2008/03/31 09:28:36 sfox Exp $ */ #ifndef PHP_COLORER_H #define PHP_COLORER_H extern zend_module_entry colorer_module_entry; #define phpext_colorer_ptr &colorer_module_entry +#define PHP_COLORER_VERSION "0.8.0-dev" + #ifdef PHP_WIN32 #define PHP_COLORER_API __declspec(dllexport) #else

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