]> granicus.if.org Git - php/commitdiff
2 * TSRMLS_FETCH() -> 1 * TSRMLS_DC
authorSebastian Bergmann <sebastian@php.net>
Fri, 4 Jul 2003 10:31:41 +0000 (10:31 +0000)
committerSebastian Bergmann <sebastian@php.net>
Fri, 4 Jul 2003 10:31:41 +0000 (10:31 +0000)
Zend/zend_reflection_api.c
ext/reflection/php_reflection.c

index f01bf3132ec5e2de4e07e94ff4f3c85a1c63eae7..f8411109e92870e394c7af380942edf4ce8fdac1 100644 (file)
@@ -814,7 +814,7 @@ ZEND_FUNCTION(reflection_class_getmethod)
 }
 /* }}} */
 
-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 @@ static int _addmethod(zend_function *mptr, int num_args, va_list args, zend_hash
        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 @@ ZEND_FUNCTION(reflection_class_getproperty)
 }
 /* }}} */
 
-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 @@ static int _addproperty(zend_property_info *pptr, int num_args, va_list args, ze
        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);
index f01bf3132ec5e2de4e07e94ff4f3c85a1c63eae7..f8411109e92870e394c7af380942edf4ce8fdac1 100644 (file)
@@ -814,7 +814,7 @@ ZEND_FUNCTION(reflection_class_getmethod)
 }
 /* }}} */
 
-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 @@ static int _addmethod(zend_function *mptr, int num_args, va_list args, zend_hash
        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 @@ ZEND_FUNCTION(reflection_class_getproperty)
 }
 /* }}} */
 
-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 @@ static int _addproperty(zend_property_info *pptr, int num_args, va_list args, ze
        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);