projects
/
m6w6
/
ext-json_post
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
release 1.1.0
[m6w6/ext-json_post]
/
php_json_post.h
diff --git
a/php_json_post.h
b/php_json_post.h
index 76cb8fe95506fe9489cb95592ab88bed398274ee..d94a14c587622927843bdbaad2950bb8055457de 100644
(file)
--- a/
php_json_post.h
+++ b/
php_json_post.h
@@
-30,10
+30,20
@@
extern zend_module_entry json_post_module_entry;
# include "TSRM.h"
#endif
# include "TSRM.h"
#endif
+#if PHP_VERSION_ID < 70000
+typedef long zend_long;
+#endif
+
ZEND_BEGIN_MODULE_GLOBALS(json_post)
ZEND_BEGIN_MODULE_GLOBALS(json_post)
- long flags;
- int error_response;
- zend_bool error_exit;
+ zend_long flags;
+ struct {
+ zend_long response;
+ zend_bool warning;
+ zend_bool exit;
+ } onerror;
+#if PHP_VERSION_ID < 70000
+ zend_module_entry *json_module;
+#endif
ZEND_END_MODULE_GLOBALS(json_post)
ZEND_EXTERN_MODULE_GLOBALS(json_post);
ZEND_END_MODULE_GLOBALS(json_post)
ZEND_EXTERN_MODULE_GLOBALS(json_post);