Score
0
Watch 21 Star 133 Fork 26

GVPviest / php-ext-xlswriterCBSD-2-Clause

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
xlsxwriter 是一个 PHP C 扩展,可用于在Excel 2007及以上版本XLSX文件中写入多个工作表的文本,数字,公式和超链接 spread retract

  • C 67.5%
  • PHP 27.4%
  • M4 3.7%
  • JavaScript 1.2%
  • Shell 0.2%
Clone or download
php_xlswriter.h 1.90 KB
Copy Edit Web IDE Raw Blame History
viest authored 2019-10-11 22:24 . 1.3.1
/*
+----------------------------------------------------------------------+
| XlsWriter Extension |
+----------------------------------------------------------------------+
| Copyright (c) 2017-2018 The Viest |
+----------------------------------------------------------------------+
| http://www.viest.me |
+----------------------------------------------------------------------+
| Author: viest <dev@service.viest.me> |
+----------------------------------------------------------------------+
*/
#ifndef PHP_VTIFUL_H
#define PHP_VTIFUL_H
#include "xlswriter.h"
extern zend_module_entry xlswriter_module_entry;
#define phpext_xlswriter_ptr &xlswriter_module_entry
#define PHP_XLSWRITER_VERSION "1.3.1"
#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
#if PHP_VERSION_ID >= 80000
#define TSRMLS_D void
#define TSRMLS_DC
#define TSRMLS_C
#define TSRMLS_CC
#endif
#define VTIFUL_RESOURCE_NAME "xlsx"
extern int le_xls_writer;
#define VTIFUL_STARTUP_MODULE(module) ZEND_MODULE_STARTUP_N(xlsxwriter_##module)(INIT_FUNC_ARGS_PASSTHRU)
#define VTIFUL_STARTUP_FUNCTION(module) ZEND_MINIT_FUNCTION(xlsxwriter_##module)
void _php_vtiful_xls_close(zend_resource *rsrc TSRMLS_DC);
#if defined(ZTS) && defined(COMPILE_DL_VTIFUL)
ZEND_TSRMLS_CACHE_EXTERN();
#endif
PHP_MINIT_FUNCTION(xlswriter);
PHP_MSHUTDOWN_FUNCTION(xlswriter);
PHP_RINIT_FUNCTION(xlswriter);
PHP_RSHUTDOWN_FUNCTION(xlswriter);
PHP_MINFO_FUNCTION(xlswriter);
#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
*/

Comment ( 0 )

Sign in for post a comment

C
1
https://gitee.com/viest/php-ext-xlswriter.git
git@gitee.com:viest/php-ext-xlswriter.git
viest
php-ext-xlswriter
php-ext-xlswriter
master

Help Search