cvs: php4 /ext/skeleton skeleton.c
| From: | Rasmus Lerdorf | Date: | Sun, 02 Dec 2001 00:42:23 +0000 |
| Subject: | cvs: php4 /ext/skeleton skeleton.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8363@lists.php.net to get a copy of this message | ||
rasmus Sat Dec 1 19:42:23 2001 EDT
Modified files:
/php4/ext/skeleton skeleton.c
Log:
Make ext_skel generate backward compatible module sources
(flight from London to Paris is too short for any real work)
Index: php4/ext/skeleton/skeleton.c
diff -u php4/ext/skeleton/skeleton.c:1.30 php4/ext/skeleton/skeleton.c:1.31
--- php4/ext/skeleton/skeleton.c:1.30 Sat Oct 27 08:22:22 2001
+++ php4/ext/skeleton/skeleton.c Sat Dec 1 19:42:22 2001
@@ -30,7 +30,9 @@
/* {{{ extname_module_entry
*/
zend_module_entry extname_module_entry = {
+#if ZEND_MODULE_API_NO >= 20010901
STANDARD_MODULE_HEADER,
+#endif
"extname",
extname_functions,
PHP_MINIT(extname),
@@ -38,7 +40,9 @@
PHP_RINIT(extname), /* Replace with NULL if there's nothing to do at request start */
PHP_RSHUTDOWN(extname), /* Replace with NULL if there's nothing to do at request end */
PHP_MINFO(extname),
- "0.1", /* Replace with version number for your extension */
+#if ZEND_MODULE_API_NO >= 20010901
+ FOO_VERSION, /* extension version number (string) */
+#endif
STANDARD_MODULE_PROPERTIES
};
/* }}} */