1 /* 2 +----------------------------------------------------------------------+ 3 | PHP Version 7 | 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 1997-2018 The PHP Group | 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 15 | Authors: George Schlossnagle <george@omniti.com> | 16 +----------------------------------------------------------------------+ 17 */ 18 19 #ifndef PHP_REFLECTION_H 20 #define PHP_REFLECTION_H 21 22 #include "php.h" 23 24 extern zend_module_entry reflection_module_entry; 25 #define phpext_reflection_ptr &reflection_module_entry 26 27 #define PHP_REFLECTION_VERSION PHP_VERSION 28 29 BEGIN_EXTERN_C() 30 31 /* Class entry pointers */ 32 extern PHPAPI zend_class_entry *reflector_ptr; 33 extern PHPAPI zend_class_entry *reflection_exception_ptr; 34 extern PHPAPI zend_class_entry *reflection_ptr; 35 extern PHPAPI zend_class_entry *reflection_function_abstract_ptr; 36 extern PHPAPI zend_class_entry *reflection_function_ptr; 37 extern PHPAPI zend_class_entry *reflection_parameter_ptr; 38 extern PHPAPI zend_class_entry *reflection_type_ptr; 39 extern PHPAPI zend_class_entry *reflection_named_type_ptr; 40 extern PHPAPI zend_class_entry *reflection_class_ptr; 41 extern PHPAPI zend_class_entry *reflection_object_ptr; 42 extern PHPAPI zend_class_entry *reflection_method_ptr; 43 extern PHPAPI zend_class_entry *reflection_property_ptr; 44 extern PHPAPI zend_class_entry *reflection_extension_ptr; 45 extern PHPAPI zend_class_entry *reflection_zend_extension_ptr; 46 47 PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object); 48 49 END_EXTERN_C() 50 51 #endif /* PHP_REFLECTION_H */ 52 53 /* 54 * Local variables: 55 * tab-width: 4 56 * c-basic-offset: 4 57 * indent-tabs-mode: t 58 * End: 59 */ 60