diff options
Diffstat (limited to 'ext/skeleton')
-rw-r--r-- | ext/skeleton/php_skeleton.h | 4 | ||||
-rw-r--r-- | ext/skeleton/skeleton.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ext/skeleton/php_skeleton.h b/ext/skeleton/php_skeleton.h index 3d23493b68..593d3a665b 100644 --- a/ext/skeleton/php_skeleton.h +++ b/ext/skeleton/php_skeleton.h @@ -20,9 +20,9 @@ extern zend_module_entry extname_module_entry; #include "TSRM.h" #endif -/* +/* Declare any global variables you may need between the BEGIN - and END macros here: + and END macros here: ZEND_BEGIN_MODULE_GLOBALS(extname) zend_long global_value; diff --git a/ext/skeleton/skeleton.c b/ext/skeleton/skeleton.c index d432f1c3df..0e90dc0760 100644 --- a/ext/skeleton/skeleton.c +++ b/ext/skeleton/skeleton.c @@ -49,9 +49,9 @@ PHP_FUNCTION(confirm_extname_compiled) efree(strg); } /* }}} */ -/* The previous line is meant for vim and emacs, so it can correctly fold and - unfold functions in source code. See the corresponding marks just before - function definition, where the functions purpose is also documented. Please +/* The previous line is meant for vim and emacs, so it can correctly fold and + unfold functions in source code. See the corresponding marks just before + function definition, where the functions purpose is also documented. Please follow this convention for the convenience of others editing your code. */ @@ -72,7 +72,7 @@ static void php_extname_init_globals(zend_extname_globals *extname_globals) */ PHP_MINIT_FUNCTION(extname) { - /* If you have INI entries, uncomment these lines + /* If you have INI entries, uncomment these lines REGISTER_INI_ENTRIES(); */ return SUCCESS; |