|
@@ -22,7 +22,7 @@ int le_excel_writer;
|
|
|
|
|
|
/* {{{ PHP_MINIT_FUNCTION
|
|
|
*/
|
|
|
-PHP_MINIT_FUNCTION(excel_writer)
|
|
|
+PHP_MINIT_FUNCTION(xlswriter)
|
|
|
{
|
|
|
VTIFUL_STARTUP_MODULE(exception);
|
|
|
VTIFUL_STARTUP_MODULE(excel);
|
|
@@ -37,7 +37,7 @@ PHP_MINIT_FUNCTION(excel_writer)
|
|
|
|
|
|
/* {{{ PHP_MSHUTDOWN_FUNCTION
|
|
|
*/
|
|
|
-PHP_MSHUTDOWN_FUNCTION(excel_writer)
|
|
|
+PHP_MSHUTDOWN_FUNCTION(xlswriter)
|
|
|
{
|
|
|
return SUCCESS;
|
|
|
}
|
|
@@ -45,7 +45,7 @@ PHP_MSHUTDOWN_FUNCTION(excel_writer)
|
|
|
|
|
|
/* {{{ PHP_RINIT_FUNCTION
|
|
|
*/
|
|
|
-PHP_RINIT_FUNCTION(excel_writer)
|
|
|
+PHP_RINIT_FUNCTION(xlswriter)
|
|
|
{
|
|
|
#if defined(COMPILE_DL_VTIFUL) && defined(ZTS)
|
|
|
ZEND_TSRMLS_CACHE_UPDATE();
|
|
@@ -56,7 +56,7 @@ PHP_RINIT_FUNCTION(excel_writer)
|
|
|
|
|
|
/* {{{ PHP_RSHUTDOWN_FUNCTION
|
|
|
*/
|
|
|
-PHP_RSHUTDOWN_FUNCTION(excel_writer)
|
|
|
+PHP_RSHUTDOWN_FUNCTION(xlswriter)
|
|
|
{
|
|
|
return SUCCESS;
|
|
|
}
|
|
@@ -65,47 +65,47 @@ PHP_RSHUTDOWN_FUNCTION(excel_writer)
|
|
|
|
|
|
/* {{{ PHP_MINFO_FUNCTION
|
|
|
*/
|
|
|
-PHP_MINFO_FUNCTION(excel_writer)
|
|
|
+PHP_MINFO_FUNCTION(xlswriter)
|
|
|
{
|
|
|
php_info_print_table_start();
|
|
|
- php_info_print_table_header(2, "excel_writer support", "enabled");
|
|
|
-#if defined(PHP_VTIFUL_VERSION)
|
|
|
- php_info_print_table_row(2, "Version", PHP_VTIFUL_VERSION);
|
|
|
+ php_info_print_table_header(2, "xlswriter support", "enabled");
|
|
|
+#if defined(PHP_XLS_WRITER_VERSION)
|
|
|
+ php_info_print_table_row(2, "Version", PHP_XLS_WRITER_VERSION);
|
|
|
#endif
|
|
|
php_info_print_table_end();
|
|
|
}
|
|
|
/* }}} */
|
|
|
|
|
|
-/* {{{ vtiful_functions[]
|
|
|
+/* {{{ xlswriter_functions[]
|
|
|
*
|
|
|
- * Every user visible function must have an entry in vtiful_functions[].
|
|
|
+ * Every user visible function must have an entry in xlswriter_functions[].
|
|
|
*/
|
|
|
-const zend_function_entry excel_writer_functions[] = {
|
|
|
+const zend_function_entry xlswriter_functions[] = {
|
|
|
PHP_FE_END
|
|
|
};
|
|
|
/* }}} */
|
|
|
|
|
|
/* {{{ vtiful_module_entry
|
|
|
*/
|
|
|
-zend_module_entry excel_writer_module_entry = {
|
|
|
+zend_module_entry xlswriter_module_entry = {
|
|
|
STANDARD_MODULE_HEADER,
|
|
|
- "excel_writer",
|
|
|
- excel_writer_functions,
|
|
|
- PHP_MINIT(excel_writer),
|
|
|
- PHP_MSHUTDOWN(excel_writer),
|
|
|
- PHP_RINIT(excel_writer), /* Replace with NULL if there's nothing to do at request start */
|
|
|
- PHP_RSHUTDOWN(excel_writer), /* Replace with NULL if there's nothing to do at request end */
|
|
|
- PHP_MINFO(excel_writer),
|
|
|
- PHP_EXCEL_WRITER_VERSION,
|
|
|
+ "xlswriter",
|
|
|
+ xlswriter_functions,
|
|
|
+ PHP_MINIT(xlswriter),
|
|
|
+ PHP_MSHUTDOWN(xlswriter),
|
|
|
+ PHP_RINIT(xlswriter), /* Replace with NULL if there's nothing to do at request start */
|
|
|
+ PHP_RSHUTDOWN(xlswriter), /* Replace with NULL if there's nothing to do at request end */
|
|
|
+ PHP_MINFO(xlswriter),
|
|
|
+ PHP_XLS_WRITER_VERSION,
|
|
|
STANDARD_MODULE_PROPERTIES
|
|
|
};
|
|
|
/* }}} */
|
|
|
|
|
|
-#ifdef COMPILE_DL_EXCEL_WRITER
|
|
|
+#ifdef COMPILE_DL_XLSWRITER
|
|
|
#ifdef ZTS
|
|
|
ZEND_TSRMLS_CACHE_DEFINE();
|
|
|
#endif
|
|
|
-ZEND_GET_MODULE(excel_writer)
|
|
|
+ZEND_GET_MODULE(xlswriter)
|
|
|
#endif
|
|
|
|
|
|
/*
|