Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3192 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88897 invoked from network); 3 Jul 2003 13:03:13 -0000 Received: from unknown (HELO phoebe.host4u.net) (209.150.128.26) by pb1.pair.com with SMTP; 3 Jul 2003 13:03:13 -0000 Received: from ctd01 (dsta-aa203.pivot.net [66.186.171.203]) by phoebe.host4u.net (8.11.6/8.11.6) with SMTP id h63D3DC19197 for ; Thu, 3 Jul 2003 08:03:13 -0500 Message-ID: <012a01c34164$541e41f0$06dea8c0@cyberware.local> To: Date: Thu, 3 Jul 2003 09:09:25 -0400 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0126_01C34142.CCA7C5A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: patch: zend_reflection_api.c From: rrichards@ctindustries.net ("Rob Richards") ------=_NextPart_000_0126_01C34142.CCA7C5A0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0127_01C34142.CCA7C5A0" ------=_NextPart_001_0127_01C34142.CCA7C5A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable fixes building under windows. Uses TSRMLS_FETCH(). Not sure if there is a better way. ------=_NextPart_001_0127_01C34142.CCA7C5A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
fixes building under = windows.
Uses TSRMLS_FETCH().=20 Not sure if there is a better way.
------=_NextPart_001_0127_01C34142.CCA7C5A0-- ------=_NextPart_000_0126_01C34142.CCA7C5A0 Content-Type: text/plain; name="zend_reflection_api.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="zend_reflection_api.txt" 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); ------=_NextPart_000_0126_01C34142.CCA7C5A0--