fix #6: compatibility with 8.2
[awesomized/ext-ion] / php_ion.h
1 /*
2 +--------------------------------------------------------------------+
3 | PECL :: ion |
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) 2021, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
11 */
12
13 #ifndef PHP_ION_H
14 # define PHP_ION_H
15
16 extern zend_module_entry ion_module_entry;
17 # define phpext_ion_ptr &ion_module_entry
18
19 # define PHP_ION_VERSION "0.3.0dev"
20
21 # if defined(ZTS) && defined(COMPILE_DL_ION)
22 ZEND_TSRMLS_CACHE_EXTERN()
23 # endif
24
25 #define SUCCESS 0
26
27 #endif /* PHP_ION_H */