]> granicus.if.org Git - php/commitdiff
- Make reflection class pointers available for others
authorMarcus Boerger <helly@php.net>
Mon, 3 Oct 2005 10:04:33 +0000 (10:04 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 3 Oct 2005 10:04:33 +0000 (10:04 +0000)
Zend/zend_reflection_api.c
Zend/zend_reflection_api.h
ext/reflection/php_reflection.c
ext/reflection/php_reflection.h

index 22651b487f8363e534a8a5eb46762c7e3daca7b7..dff99f0d093c19612a4171da25d07f5bb79a9e42 100644 (file)
 #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 */
 
index fb06af468757a9085cd72f25cbd9def888982f73..2f7415c73c5f303c7cff2c60cbf755a52d70f98b 100644 (file)
 
 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);
        
index 22651b487f8363e534a8a5eb46762c7e3daca7b7..dff99f0d093c19612a4171da25d07f5bb79a9e42 100644 (file)
 #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 */
 
index fb06af468757a9085cd72f25cbd9def888982f73..2f7415c73c5f303c7cff2c60cbf755a52d70f98b 100644 (file)
 
 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);