-
Notifications
You must be signed in to change notification settings - Fork 36
/
zephir_parser.h
44 lines (35 loc) · 1.13 KB
/
zephir_parser.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* zephir_parser.h
*
* This file is part of the Zephir Parser.
*
* (c) Zephir Team <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
#ifndef PHP_ZEPHIR_PARSER_H
#define PHP_ZEPHIR_PARSER_H
extern zend_module_entry zephir_parser_module_entry;
#define phpext_zephir_parser_ptr &zephir_parser_module_entry
#define PHP_ZEPHIR_PARSER_NAME "zephir_parser"
#define PHP_ZEPHIR_PARSER_VERSION "1.7.0"
#define PHP_ZEPHIR_PARSER_AUTHOR "Zephir Team and contributors"
#define PHP_ZEPHIR_PARSER_DESCRIPTION "The Zephir Parser delivered as a C extension for the PHP language."
#ifdef PHP_WIN32
# define PHP_ZEPHIR_PARSER_API __declspec(dllexport)
#elif defined(__GNUC__) && __GNUC__ >= 4
# define PHP_ZEPHIR_PARSER_API __attribute__ ((visibility("default")))
#else
# define PHP_ZEPHIR_PARSER_API
#endif
#ifdef ZTS
#include <TSRM.h>
#endif
#define ZEPHIR_PARSER_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(zephir_parser, v)
#if defined(ZTS) && defined(COMPILE_DL_ZEPHIR_PARSER)
ZEND_TSRMLS_CACHE_EXTERN();
#endif
#ifndef TSRMLS_CC
# define TSRMLS_CC
#endif
#endif