From: Yasuo Ohgaki Date: Thu, 11 Apr 2002 05:06:16 +0000 (+0000) Subject: TSRMG => TSRMLS X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~728 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=932e33e259a3990d6b343487cc72e21c6375b7f6;p=php TSRMG => TSRMLS --- diff --git a/ext/skeleton/php_skeleton.h b/ext/skeleton/php_skeleton.h index 6faaa436a9..77cb8f3bd5 100644 --- a/ext/skeleton/php_skeleton.h +++ b/ext/skeleton/php_skeleton.h @@ -37,9 +37,9 @@ ZEND_END_MODULE_GLOBALS(extname) /* In every utility function you add that needs to use variables in php_extname_globals, call TSRM_FETCH(); after declaring other - variables used by that function, or better yet, pass in TSRMG_CC + variables used by that function, or better yet, pass in TSRMLS_CC after the last function argument and declare your utility function - with TSRMG_DC after the last declared argument. Always refer to + with TSRMLS_DC after the last declared argument. Always refer to the globals in your function as EXTNAME_G(variable). You are encouraged to rename these macros something shorter, see examples in any other php module directory.