com php-src: fixed skeleton to produce the normalized ext version macros: ext/skeleton/php_skeleton.h ext/skeleton/skeleton.c

From: Date: Mon, 14 Oct 2013 12:37:39 +0000
Subject: com php-src: fixed skeleton to produce the normalized ext version macros: ext/skeleton/php_skeleton.h ext/skeleton/skeleton.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-73432@lists.php.net to get a copy of this message
Commit: dcfd753104085d8337b8a5f4a21ce3b629ad4651 Author: Anatol Belski <ab@php.net> Mon, 14 Oct 2013 14:37:39 +0200 Parents: ea4ef75918e11257e61d8f61ac0a1e9d1c1f4fa8 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dcfd753104085d8337b8a5f4a21ce3b629ad4651 Log: fixed skeleton to produce the normalized ext version macros See http://news.php.net/php.pecl.dev/11191 for more info. Changed paths: M ext/skeleton/php_skeleton.h M ext/skeleton/skeleton.c Diff: diff --git a/ext/skeleton/php_skeleton.h b/ext/skeleton/php_skeleton.h index 86836c0..d0ba6f0 100644 --- a/ext/skeleton/php_skeleton.h +++ b/ext/skeleton/php_skeleton.h @@ -6,6 +6,8 @@ extern zend_module_entry extname_module_entry; #define phpext_extname_ptr &extname_module_entry +#define PHP_EXTNAME_VERSION "0.1.0" /* Replace with version number for your extension */ + #ifdef PHP_WIN32 # define PHP_EXTNAME_API __declspec(dllexport) #elif defined(__GNUC__) && __GNUC__ >= 4 diff --git a/ext/skeleton/skeleton.c b/ext/skeleton/skeleton.c index b9a9188..462e487 100644 --- a/ext/skeleton/skeleton.c +++ b/ext/skeleton/skeleton.c @@ -142,7 +142,7 @@ zend_module_entry extname_module_entry = { 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 */ + PHP_EXTNAME_VERSION, STANDARD_MODULE_PROPERTIES }; /* }}} */

« previous php.cvs (#73432) next »