5 extern zend_module_entry psi_module_entry
;
6 #define phpext_psi_ptr &psi_module_entry
8 #define PHP_PSI_VERSION "0.1.0"
11 # define PHP_PSI_API __declspec(dllexport)
12 #elif defined(__GNUC__) && __GNUC__ >= 4
13 # define PHP_PSI_API __attribute__ ((visibility("default")))
22 ZEND_BEGIN_MODULE_GLOBALS(psi
)
25 ZEND_END_MODULE_GLOBALS(psi
);
27 #define PSI_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(psi, v)
29 #if defined(ZTS) && defined(COMPILE_DL_PSI)
30 ZEND_TSRMLS_CACHE_EXTERN();
33 #endif /* PHP_PSI_H */
41 * vim600: noet sw=4 ts=4 fdm=marker
42 * vim<600: noet sw=4 ts=4