patch: zend_reflection_api.c

From: Date: Thu, 03 Jul 2003 13:09:25 +0000
Subject: patch: zend_reflection_api.c
Groups: php.internals 
Request: Send a blank email to internals+get-3192@lists.php.net to get a copy of this message
fixes building under windows. Uses TSRMLS_FETCH(). Not sure if there is a better way.

Index: zend_reflection_api.c =================================================================== RCS file: /repository/ZendEngine2/zend_reflection_api.c,v retrieving revision 1.8 diff -u -r1.8 zend_reflection_api.c --- zend_reflection_api.c 3 Jul 2003 05:33:23 -0000 1.8 +++ zend_reflection_api.c 3 Jul 2003 12:50:48 -0000 @@ -821,6 +821,7 @@ 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); @@ -887,6 +888,7 @@ 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.internals (#3192) next »