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);
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php