ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-cvs
php-cvs
[PHP-CVS] cvs: php-src /ext/reflection php_reflection.c
by Antony Dovgal other posts by this author
Jun 1 2006 7:31AM messages near this date
[PHP-CVS] cvs: php-src /ext/reflection php_reflection.c | [PHP-CVS] cvs: CVSROOT / avail
tony2001		Thu Jun  1 14:31:03 2006 UTC

  Modified files:              
    /php-src/ext/reflection	php_reflection.c 
  Log:
  ignore my previous fix, it was wrong =)
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/reflection/php_reflection.c?r1=1.230&r2=1.231&dif
f_format=u
Index: php-src/ext/reflection/php_reflection.c
diff -u php-src/ext/reflection/php_reflection.c:1.230 php-src/ext/reflection/php_reflection.
c:1.231
--- php-src/ext/reflection/php_reflection.c:1.230	Thu Jun  1 12:25:32 2006
+++ php-src/ext/reflection/php_reflection.c	Thu Jun  1 14:31:02 2006
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_reflection.c,v 1.230 2006/06/01 12:25:32 tony2001 Exp $ */
+/* $Id: php_reflection.c,v 1.231 2006/06/01 14:31:02 tony2001 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -2947,7 +2947,7 @@
 /* }}} */
 
 /* {{{ _addmethod */
-static int _addmethod(zend_function *mptr, int num_args, va_list args, zend_hash_key *hash_
key TSRMLS_DC)
+static int _addmethod(zend_function *mptr, int num_args, va_list args, zend_hash_key *hash_
key)
 {
 	zval *method;
 	zend_class_entry *ce = *va_arg(args, zend_class_entry**);
@@ -2955,6 +2955,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);
@@ -3079,7 +3080,7 @@
 /* }}} */
 
 /* {{{ _addproperty */
-static int _addproperty(zend_property_info *pptr, int num_args, va_list args, zend_hash_key
 *hash_key TSRMLS_DC)
+static int _addproperty(zend_property_info *pptr, int num_args, va_list args, zend_hash_key
 *hash_key)
 {
 	zval *property;
 	zend_class_entry *ce = *va_arg(args, zend_class_entry**);
@@ -3091,6 +3092,7 @@
 	}
 	
 	if (pptr-> flags	& filter) {
+		TSRMLS_FETCH();
 		ALLOC_ZVAL(property);
 		reflection_property_factory(ce, pptr, property TSRMLS_CC);
 		add_next_index_zval(retval, property);
@@ -4542,7 +4544,7 @@
 	php_info_print_table_start();
 	php_info_print_table_header(2, "Reflection", "enabled");
 
-	php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.230 2006/06/01 12:25:32 
tony2001 Exp $");
+	php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.231 2006/06/01 14:31:02 
tony2001 Exp $");
 
 	php_info_print_table_end();
 } /* }}} */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Antony Dovgal
Marcus Boerger
Hannes Magnusson
Marcus Boerger
Marcus Boerger
Steph Fox
Marcus Boerger
Antony Dovgal

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved