cvs: pecl /chasen php_chasen.c php_chasen.h
| From: | Steph Fox | Date: | Mon, 31 Mar 2008 09:28:01 +0000 |
| Subject: | cvs: pecl /chasen php_chasen.c php_chasen.h | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10120@lists.php.net to get a copy of this message | ||
sfox Mon Mar 31 09:28:01 2008 UTC
Modified files:
/pecl/chasen php_chasen.c php_chasen.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/chasen/php_chasen.c?r1=1.3&r2=1.4&diff_format=u
Index: pecl/chasen/php_chasen.c
diff -u pecl/chasen/php_chasen.c:1.3 pecl/chasen/php_chasen.c:1.4
--- pecl/chasen/php_chasen.c:1.3 Sun Aug 10 12:45:11 2003
+++ pecl/chasen/php_chasen.c Mon Mar 31 09:28:01 2008
@@ -14,7 +14,7 @@
2001.12.3 Release 0.3.0
*/
-/* $Id: php_chasen.c,v 1.3 2003/08/10 12:45:11 moriyoshi Exp $ */
+/* $Id: php_chasen.c,v 1.4 2008/03/31 09:28:01 sfox Exp $ */
#ifdef HAVE_CONFIG_H
@@ -52,8 +52,8 @@
PHP_MSHUTDOWN(chasen),
NULL,
NULL,
- NULL,
- NO_VERSION_YET,
+ PHP_MINFO(chasen),
+ PHP_CHASEN_VERSION,
STANDARD_MODULE_PROPERTIES
};
@@ -82,6 +82,17 @@
return SUCCESS;
}
+/* {{{ PHP_MINFO_FUNCTION
+ */
+PHP_MINFO_FUNCTION(chasen)
+{
+ php_info_print_table_start();
+ php_info_print_table_header(2, "libchasen support", "enabled");
+ php_info_print_table_row(2, "extension version", PHP_CHASEN_VERSION);
+ php_info_print_table_end();
+}
+/* }}} */
+
/* {{{ proto string chasen(string string, array option)
chasen command */
PHP_FUNCTION(chasen)
http://cvs.php.net/viewvc.cgi/pecl/chasen/php_chasen.h?r1=1.2&r2=1.3&diff_format=u
Index: pecl/chasen/php_chasen.h
diff -u pecl/chasen/php_chasen.h:1.2 pecl/chasen/php_chasen.h:1.3
--- pecl/chasen/php_chasen.h:1.2 Sun Aug 10 08:47:26 2003
+++ pecl/chasen/php_chasen.h Mon Mar 31 09:28:01 2008
@@ -2,7 +2,7 @@
php_chasen.h
*/
-/* $Id: php_chasen.h,v 1.2 2003/08/10 08:47:26 moriyoshi Exp $ */
+/* $Id: php_chasen.h,v 1.3 2008/03/31 09:28:01 sfox Exp $ */
#ifndef _PHP_CHASEN_H
@@ -13,8 +13,11 @@
extern zend_module_entry chasen_module_entry;
#define phpext_chasen_ptr &chasen_module_entry
+#define PHP_CHASEN_VERSION "0.1.0-dev"
+
PHP_MINIT_FUNCTION(chasen);
PHP_MSHUTDOWN_FUNCTION(chasen);
+PHP_MINFO_FUNCTION(chasen);
PHP_FUNCTION(chasen);
PHP_FUNCTION(chasen_split);