cvs: ZendEngine2 / zend_reflection_api.c zend_reflection_api.h
| From: | Marcus Boerger | Date: | Mon, 03 Oct 2005 10:04:34 +0000 |
| Subject: | cvs: ZendEngine2 / zend_reflection_api.c zend_reflection_api.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4192@lists.php.net to get a copy of this message | ||
helly Mon Oct 3 06:04:34 2005 EDT
Modified files:
/ZendEngine2 zend_reflection_api.h zend_reflection_api.c
Log:
- Make reflection class pointers available for others
http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.h?r1=1.6&r2=1.7&ty=u
Index: ZendEngine2/zend_reflection_api.h
diff -u ZendEngine2/zend_reflection_api.h:1.6 ZendEngine2/zend_reflection_api.h:1.7
--- ZendEngine2/zend_reflection_api.h:1.6 Fri Aug 12 07:29:27 2005
+++ ZendEngine2/zend_reflection_api.h Mon Oct 3 06:04:33 2005
@@ -16,13 +16,25 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.h,v 1.6 2005/08/12 11:29:27 dmitry Exp $ */
+/* $Id: zend_reflection_api.h,v 1.7 2005/10/03 10:04:33 helly Exp $ */
#ifndef ZEND_REFLECTION_API_H
#define ZEND_REFLECTION_API_H
BEGIN_EXTERN_C()
+/* Class entry pointers */
+extern ZEND_API zend_class_entry *reflector_ptr;
+extern ZEND_API zend_class_entry *reflection_exception_ptr;
+extern ZEND_API zend_class_entry *reflection_ptr;
+extern ZEND_API zend_class_entry *reflection_function_ptr;
+extern ZEND_API zend_class_entry *reflection_parameter_ptr;
+extern ZEND_API zend_class_entry *reflection_class_ptr;
+extern ZEND_API zend_class_entry *reflection_object_ptr;
+extern ZEND_API zend_class_entry *reflection_method_ptr;
+extern ZEND_API zend_class_entry *reflection_property_ptr;
+extern ZEND_API zend_class_entry *reflection_extension_ptr;
+
ZEND_API void zend_register_reflection_api(TSRMLS_D);
ZEND_API void zend_reflection_class_factory(zend_class_entry *ce, zval *object TSRMLS_DC);
http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.182&r2=1.183&ty=u
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.182 ZendEngine2/zend_reflection_api.c:1.183
--- ZendEngine2/zend_reflection_api.c:1.182 Fri Sep 23 19:02:29 2005
+++ ZendEngine2/zend_reflection_api.c Mon Oct 3 06:04:33 2005
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.182 2005/09/23 23:02:29 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.183 2005/10/03 10:04:33 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_exceptions.h"
@@ -29,16 +29,16 @@
#include "zend_interfaces.h"
/* Class entry pointers */
-zend_class_entry *reflector_ptr;
-zend_class_entry *reflection_exception_ptr;
-zend_class_entry *reflection_ptr;
-zend_class_entry *reflection_function_ptr;
-zend_class_entry *reflection_parameter_ptr;
-zend_class_entry *reflection_class_ptr;
-zend_class_entry *reflection_object_ptr;
-zend_class_entry *reflection_method_ptr;
-zend_class_entry *reflection_property_ptr;
-zend_class_entry *reflection_extension_ptr;
+ZEND_API zend_class_entry *reflector_ptr;
+ZEND_API zend_class_entry *reflection_exception_ptr;
+ZEND_API zend_class_entry *reflection_ptr;
+ZEND_API zend_class_entry *reflection_function_ptr;
+ZEND_API zend_class_entry *reflection_parameter_ptr;
+ZEND_API zend_class_entry *reflection_class_ptr;
+ZEND_API zend_class_entry *reflection_object_ptr;
+ZEND_API zend_class_entry *reflection_method_ptr;
+ZEND_API zend_class_entry *reflection_property_ptr;
+ZEND_API zend_class_entry *reflection_extension_ptr;
/* Method macros */