Property proxy API
A facility to manage extension object properties tied to C-struct members
php_propro.h
Go to the documentation of this file.
1 /*
2  +--------------------------------------------------------------------+
3  | PECL :: propro |
4  +--------------------------------------------------------------------+
5  | Redistribution and use in source and binary forms, with or without |
6  | modification, are permitted provided that the conditions mentioned |
7  | in the accompanying LICENSE file are met. |
8  +--------------------------------------------------------------------+
9  | Copyright (c) 2013 Michael Wallner <mike@php.net> |
10  +--------------------------------------------------------------------+
11 */
12 
13 #ifndef PHP_PROPRO_H
14 #define PHP_PROPRO_H
15 
16 extern zend_module_entry propro_module_entry;
17 #define phpext_propro_ptr &propro_module_entry
18 
19 #define PHP_PROPRO_VERSION "1.0.1"
20 
21 #ifdef PHP_WIN32
22 # define PHP_PROPRO_API __declspec(dllexport)
23 #elif defined(__GNUC__) && __GNUC__ >= 4
24 # define PHP_PROPRO_API extern __attribute__ ((visibility("default")))
25 #else
26 # define PHP_PROPRO_API extern
27 #endif
28 
29 #ifdef ZTS
30 # include <TSRM/TSRM.h>
31 #endif
32 
33 #include "php_propro_api.h"
34 
35 #endif /* PHP_PROPRO_H */
36 
37 
38 /*
39  * Local variables:
40  * tab-width: 4
41  * c-basic-offset: 4
42  * End:
43  * vim600: noet sw=4 ts=4 fdm=marker
44  * vim<600: noet sw=4 ts=4
45  */
zend_module_entry propro_module_entry
Definition: php_propro_api.c:565