Property proxy API
A facility to manage extension object properties tied to C-struct members
Main Page
Related Pages
Data Structures
Files
File List
Globals
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 "2.0.0dev"
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
#define PHP_PROPRO_PTR(zo) (void*)(((char*)(zo))-(zo)->handlers->offset)
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
*/
propro_module_entry
zend_module_entry propro_module_entry
Definition:
php_propro_api.c:572
php_propro.h
Generated by
1.8.10