2 +--------------------------------------------------------------------+
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) 2015, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
13 #ifndef PHP_JSON_POST_H
14 #define PHP_JSON_POST_H
16 extern zend_module_entry json_post_module_entry
;
17 #define phpext_json_post_ptr &json_post_module_entry
19 #define PHP_JSON_POST_VERSION "1.0.1"
22 # define PHP_JSON_POST_API __declspec(dllexport)
23 #elif defined(__GNUC__) && __GNUC__ >= 4
24 # define PHP_JSON_POST_API extern __attribute__ ((visibility("default")))
26 # define PHP_JSON_POST_API extern
33 ZEND_BEGIN_MODULE_GLOBALS(json_post
)
35 ZEND_END_MODULE_GLOBALS(json_post
)
37 ZEND_EXTERN_MODULE_GLOBALS(json_post
);
40 # define JSON_POST_G(v) TSRMG(json_post_globals_id, zend_json_post_globals *, v)
42 # define JSON_POST_G(v) (json_post_globals.v)
45 #endif /* PHP_JSON_POST_H */
52 * vim600: noet sw=4 ts=4 fdm=marker
53 * vim<600: noet sw=4 ts=4