From edf78b21415e078192ac304f8c784d77399045e9 Mon Sep 17 00:00:00 2001 From: George Schlossnagle Date: Thu, 3 Jul 2003 14:11:31 +0000 Subject: win build fixes (Rob Richards) --- ext/reflection/php_reflection.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/reflection/php_reflection.c') diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 1f6ece9fcb..ba78b39a71 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -822,6 +822,7 @@ 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); @@ -888,6 +889,7 @@ 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); -- cgit v1.2.1