From 932e33e259a3990d6b343487cc72e21c6375b7f6 Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Thu, 11 Apr 2002 05:06:16 +0000 Subject: [PATCH] TSRMG => TSRMLS --- ext/skeleton/php_skeleton.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.40.0