cvs: ZendEngine2 / zend_reflection_api.c

From: Date: Fri, 04 Jul 2003 10:31:41 +0000
Subject: cvs: ZendEngine2 / zend_reflection_api.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1457@lists.php.net to get a copy of this message
sebastian Fri Jul 4 06:31:41 2003 EDT Modified files: /ZendEngine2 zend_reflection_api.c Log: 2 * TSRMLS_FETCH() -> 1 * TSRMLS_DC Index: ZendEngine2/zend_reflection_api.c diff -u ZendEngine2/zend_reflection_api.c:1.11 ZendEngine2/zend_reflection_api.c:1.12 --- ZendEngine2/zend_reflection_api.c:1.11 Thu Jul 3 23:26:37 2003 +++ ZendEngine2/zend_reflection_api.c Fri Jul 4 06:31:41 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_reflection_api.c,v 1.11 2003/07/04 03:26:37 gschlossnagle Exp $ */ +/* $Id: zend_reflection_api.c,v 1.12 2003/07/04 10:31:41 sebastian Exp $ */ #include "zend.h" #include "zend_API.h" #include "zend_default_classes.h" @@ -814,7 +814,7 @@ } /* }}} */ -static int _addmethod(zend_function *mptr, int num_args, va_list args, zend_hash_key *hash_key) +static int _addmethod(zend_function *mptr, int num_args, va_list args, zend_hash_key *hash_key TSRMLS_DC) { zval *method; zend_class_entry *ce = *va_arg(args, zend_class_entry**); @@ -822,7 +822,6 @@ long filter = va_arg(args, long); if (mptr->common.fn_flags & filter) { - TSRMLS_FETCH(); ALLOC_ZVAL(method); reflection_method_factory(ce, mptr, method TSRMLS_CC); add_next_index_zval(retval, method); @@ -881,7 +880,7 @@ } /* }}} */ -static int _addproperty(zend_property_info *pptr, int num_args, va_list args, zend_hash_key *hash_key) +static int _addproperty(zend_property_info *pptr, int num_args, va_list args, zend_hash_key *hash_key TSRMLS_DC) { zval *property; zend_class_entry *ce = *va_arg(args, zend_class_entry**); @@ -889,7 +888,6 @@ long filter = va_arg(args, long); if (pptr->flags & filter) { - TSRMLS_FETCH(); ALLOC_ZVAL(property); reflection_property_factory(ce, pptr, property TSRMLS_CC); add_next_index_zval(retval, property);

« previous php.zend-engine.cvs (#1457) next »