summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-11-17 22:59:39 +0000
committerMarcus Boerger <helly@php.net>2005-11-17 22:59:39 +0000
commita40a48fbd49784d97e87a9ef667885f85688dc83 (patch)
tree2d2d255b8410f9f93e14a411553d1e46330fcb51 /ext/reflection/php_reflection.h
parent0be9760a600fc50637bb730bdadf350ae05e0faf (diff)
downloadphp-git-a40a48fbd49784d97e87a9ef667885f85688dc83.tar.gz
- Move Reflection into its own extension
Diffstat (limited to 'ext/reflection/php_reflection.h')
-rw-r--r--ext/reflection/php_reflection.h36
1 files changed, 20 insertions, 16 deletions
diff --git a/ext/reflection/php_reflection.h b/ext/reflection/php_reflection.h
index 2f7415c73c..8bdd77c621 100644
--- a/ext/reflection/php_reflection.h
+++ b/ext/reflection/php_reflection.h
@@ -18,29 +18,33 @@
/* $Id$ */
-#ifndef ZEND_REFLECTION_API_H
-#define ZEND_REFLECTION_API_H
+#ifndef PHP_REFLECTION_H
+#define PHP_REFLECTION_H
+
+#include "php.h"
+
+extern zend_module_entry reflection_module_entry;
+#define phpext_reflection_ptr &reflection_module_entry
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);
+extern PHPAPI zend_class_entry *reflector_ptr;
+extern PHPAPI zend_class_entry *reflection_exception_ptr;
+extern PHPAPI zend_class_entry *reflection_ptr;
+extern PHPAPI zend_class_entry *reflection_function_ptr;
+extern PHPAPI zend_class_entry *reflection_parameter_ptr;
+extern PHPAPI zend_class_entry *reflection_class_ptr;
+extern PHPAPI zend_class_entry *reflection_object_ptr;
+extern PHPAPI zend_class_entry *reflection_method_ptr;
+extern PHPAPI zend_class_entry *reflection_property_ptr;
+extern PHPAPI zend_class_entry *reflection_extension_ptr;
+
+PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object TSRMLS_DC);
END_EXTERN_C()
-#endif
+#endif /* PHP_REFLECTION_H */
/*
* Local variables: