12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- /*
- +----------------------------------------------------------------------+
- | Vtiful Extension |
- +----------------------------------------------------------------------+
- | Copyright (c) 2017-2017 The Viest |
- +----------------------------------------------------------------------+
- | http://www.viest.me |
- +----------------------------------------------------------------------+
- | Author: viest <[email protected]> |
- +----------------------------------------------------------------------+
- */
- #ifndef PHP_VTIFUL_H
- #define PHP_VTIFUL_H
- extern zend_module_entry vtiful_module_entry;
- #define phpext_vtiful_ptr &vtiful_module_entry
- #define PHP_VTIFUL_VERSION "0.1.0"
- #ifdef PHP_WIN32
- # define PHP_VTIFUL_API __declspec(dllexport)
- #elif defined(__GNUC__) && __GNUC__ >= 4
- # define PHP_VTIFUL_API __attribute__ ((visibility("default")))
- #else
- # define PHP_VTIFUL_API
- #endif
- #ifdef ZTS
- #include "TSRM.h"
- #endif
- static int le_vtiful;
- #define VTIFUL_STARTUP_MODULE(module) ZEND_MODULE_STARTUP_N(vtiful_##module)(INIT_FUNC_ARGS_PASSTHRU)
- #define VTIFUL_STARTUP_FUNCTION(module) ZEND_MINIT_FUNCTION(vtiful_##module)
- #define VTIFUL_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(vtiful, v)
- static void _php_vtiful_excel_close(zend_resource *rsrc TSRMLS_DC);
- #if defined(ZTS) && defined(COMPILE_DL_VTIFUL)
- ZEND_TSRMLS_CACHE_EXTERN();
- #endif
- #endif
- /*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: noet sw=4 ts=4 fdm=marker
- * vim<600: noet sw=4 ts=4
- */
|