iliaa Tue Jun 20 22:39:15 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/tokenizer php_tokenizer.h tokenizer.c Log: Removed pointless callbacks. http://cvs.php.net/viewvc.cgi/php-src/ext/tokenizer/php_tokenizer.h?r1=1.9.2.1&r2=1.9.2.1.2.1&diff_format=u Index: php-src/ext/tokenizer/php_tokenizer.h diff -u php-src/ext/tokenizer/php_tokenizer.h:1.9.2.1 php-src/ext/tokenizer/php_tokenizer.h:1.9.2.1.2.1 --- php-src/ext/tokenizer/php_tokenizer.h:1.9.2.1 Sun Jan 1 12:50:16 2006 +++ php-src/ext/tokenizer/php_tokenizer.h Tue Jun 20 22:39:15 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_tokenizer.h,v 1.9.2.1 2006/01/01 12:50:16 sniper Exp $ */ +/* $Id: php_tokenizer.h,v 1.9.2.1.2.1 2006/06/20 22:39:15 iliaa Exp $ */ #ifndef PHP_TOKENIZER_H #define PHP_TOKENIZER_H @@ -35,9 +35,6 @@ #endif PHP_MINIT_FUNCTION(tokenizer); -PHP_MSHUTDOWN_FUNCTION(tokenizer); -PHP_RINIT_FUNCTION(tokenizer); -PHP_RSHUTDOWN_FUNCTION(tokenizer); PHP_MINFO_FUNCTION(tokenizer); PHP_FUNCTION(confirm_tokenizer_compiled); /* For testing, remove later. */ http://cvs.php.net/viewvc.cgi/php-src/ext/tokenizer/tokenizer.c?r1=1.31.2.5.2.1&r2=1.31.2.5.2.2&diff_format=u Index: php-src/ext/tokenizer/tokenizer.c diff -u php-src/ext/tokenizer/tokenizer.c:1.31.2.5.2.1 php-src/ext/tokenizer/tokenizer.c:1.31.2.5.2.2 --- php-src/ext/tokenizer/tokenizer.c:1.31.2.5.2.1 Thu Jun 15 18:33:09 2006 +++ php-src/ext/tokenizer/tokenizer.c Tue Jun 20 22:39:15 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: tokenizer.c,v 1.31.2.5.2.1 2006/06/15 18:33:09 dmitry Exp $ */ +/* $Id: tokenizer.c,v 1.31.2.5.2.2 2006/06/20 22:39:15 iliaa Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -119,9 +119,9 @@ "tokenizer", tokenizer_functions, PHP_MINIT(tokenizer), - PHP_MSHUTDOWN(tokenizer), - PHP_RINIT(tokenizer), /* Replace with NULL if there's nothing to do at request start */ - PHP_RSHUTDOWN(tokenizer), /* Replace with NULL if there's nothing to do at request end */ + NULL, + NULL, + NULL, PHP_MINFO(tokenizer), #if ZEND_MODULE_API_NO >= 20010901 "0.1", /* Replace with version number for your extension */ @@ -287,35 +287,6 @@ } /* }}} */ -/* {{{ PHP_MSHUTDOWN_FUNCTION - */ -PHP_MSHUTDOWN_FUNCTION(tokenizer) -{ - /* uncomment this line if you have INI entries - UNREGISTER_INI_ENTRIES(); - */ - return SUCCESS; -} -/* }}} */ - -/* Remove if there's nothing to do at request start */ -/* {{{ PHP_RINIT_FUNCTION - */ -PHP_RINIT_FUNCTION(tokenizer) -{ - return SUCCESS; -} -/* }}} */ - -/* Remove if there's nothing to do at request end */ -/* {{{ PHP_RSHUTDOWN_FUNCTION - */ -PHP_RSHUTDOWN_FUNCTION(tokenizer) -{ - return SUCCESS; -} -/* }}} */ - /* {{{ PHP_MINFO_FUNCTION */ PHP_MINFO_FUNCTION(tokenizer)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php