cvs: ZendEngine2 / zend_reflection_api.c

From: Date: Tue, 01 Jul 2003 04:25:29 +0000
Subject: cvs: ZendEngine2 / zend_reflection_api.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1417@lists.php.net to get a copy of this message
sebastian Tue Jul 1 00:25:29 2003 EDT Modified files: /ZendEngine2 zend_reflection_api.c Log: ZTS fixes. Index: ZendEngine2/zend_reflection_api.c diff -u ZendEngine2/zend_reflection_api.c:1.5 ZendEngine2/zend_reflection_api.c:1.6 --- ZendEngine2/zend_reflection_api.c:1.5 Tue Jul 1 00:10:57 2003 +++ ZendEngine2/zend_reflection_api.c Tue Jul 1 00:25:29 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_reflection_api.c,v 1.5 2003/07/01 04:10:57 gschlossnagle Exp $ */ +/* $Id: zend_reflection_api.c,v 1.6 2003/07/01 04:25:29 sebastian Exp $ */ #include <assert.h> #include "zend.h" @@ -332,13 +332,13 @@ efree(params); } -void reflection_class_factory(zend_class_entry *ce, zval *object) +void reflection_class_factory(zend_class_entry *ce, zval *object TSRMLS_DC) { reflection_object *intern; zval *name; ALLOC_ZVAL(name); ZVAL_STRINGL(name, ce->name, ce->name_length, 1); - reflection_instanciate(reflection_class_ptr, object); + reflection_instanciate(reflection_class_ptr, object TSRMLS_CC); intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); intern->ptr = ce; zend_hash_update(Z_OBJPROP_P(object), "name", sizeof("name"), (void **) &name, sizeof(zval *), NULL); @@ -595,7 +595,7 @@ for(i=0; i < ce->num_interfaces; i++) { zval *interface; ALLOC_ZVAL(interface); - reflection_class_factory(ce->interfaces[i], interface); + reflection_class_factory(ce->interfaces[i], interface TSRMLS_CC); add_next_index_zval(return_value, interface); } } @@ -613,7 +613,7 @@ object = getThis(); intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC); if (intern && (ce = intern->ptr) && ce->parent) { - reflection_class_factory(ce->parent, return_value); + reflection_class_factory(ce->parent, return_value TSRMLS_CC); } else { RETURN_FALSE;

« previous php.zend-engine.cvs (#1417) next »