xref: /PHP-5.5/ext/reflection/php_reflection.h (revision 73c1be26)
1 /*
2    +----------------------------------------------------------------------+
3    | PHP Version 5                                                        |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 1997-2015 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 /* $Id$ */
20 
21 #ifndef PHP_REFLECTION_H
22 #define PHP_REFLECTION_H
23 
24 #include "php.h"
25 
26 extern zend_module_entry reflection_module_entry;
27 #define phpext_reflection_ptr &reflection_module_entry
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_class_ptr;
39 extern PHPAPI zend_class_entry *reflection_object_ptr;
40 extern PHPAPI zend_class_entry *reflection_method_ptr;
41 extern PHPAPI zend_class_entry *reflection_property_ptr;
42 extern PHPAPI zend_class_entry *reflection_extension_ptr;
43 extern PHPAPI zend_class_entry *reflection_zend_extension_ptr;
44 
45 PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object TSRMLS_DC);
46 
47 END_EXTERN_C()
48 
49 #endif /* PHP_REFLECTION_H */
50 
51 /*
52  * Local variables:
53  * tab-width: 4
54  * c-basic-offset: 4
55  * indent-tabs-mode: t
56  * End:
57  */
58