xref: /PHP-7.4/ext/reflection/php_reflection.h (revision 6347f0b9)
1 /*
2    +----------------------------------------------------------------------+
3    | PHP Version 7                                                        |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 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 extern PHPAPI zend_class_entry *reflection_reference_ptr;
47 
48 PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object);
49 
50 END_EXTERN_C()
51 
52 #endif /* PHP_REFLECTION_H */
53