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")))
24 ZEND_BEGIN_MODULE_GLOBALS(psi
)
27 ZEND_END_MODULE_GLOBALS(psi
);
29 #define PSI_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(psi, v)
31 #if defined(ZTS) && defined(COMPILE_DL_PSI)
32 ZEND_TSRMLS_CACHE_EXTERN();
35 #endif /* PHP_PSI_H */
43 * vim600: noet sw=4 ts=4 fdm=marker
44 * vim<600: noet sw=4 ts=4