summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-01 07:04:57 +0200
committerRemi Collet <remi@remirepo.net>2018-06-01 07:04:57 +0200
commit7ceb1c7234033fe1effe264a0ac364e93ef1a4be (patch)
tree138f3a6013d471b375c087476dadb60b85d4501f
parent09db3ea14eb0aa570a62c9f18b128fdfc866ab15 (diff)
the patch
-rw-r--r--71.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/71.patch b/71.patch
new file mode 100644
index 0000000..300754c
--- /dev/null
+++ b/71.patch
@@ -0,0 +1,41 @@
+From 03e9a8aa2c88208c60511d239bf6f66f5d064723 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Fri, 1 Jun 2018 06:45:22 +0200
+Subject: [PATCH 1/2] fix arginfo for Vtiful\Kernel\Excel::fileName() and
+ Vtiful\Kernel\Excel::constMemory()
+
+---
+ kernel/excel.c | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/kernel/excel.c b/kernel/excel.c
+index 25e120e..0fd05cb 100644
+--- a/kernel/excel.c
++++ b/kernel/excel.c
+@@ -61,11 +61,15 @@ ZEND_BEGIN_ARG_INFO_EX(xls_construct_arginfo, 0, 0, 1)
+ ZEND_ARG_INFO(0, config)
+ ZEND_END_ARG_INFO()
+
+-ZEND_BEGIN_ARG_INFO_EX(xls_file_name_arginfo, 0, 0, 2)
++ZEND_BEGIN_ARG_INFO_EX(xls_file_name_arginfo, 0, 0, 1)
+ ZEND_ARG_INFO(0, file_name)
+ ZEND_ARG_INFO(0, sheet_name)
+ ZEND_END_ARG_INFO()
+
++ZEND_BEGIN_ARG_INFO_EX(xls_const_memory_arginfo, 0, 0, 1)
++ ZEND_ARG_INFO(0, file_name)
++ZEND_END_ARG_INFO()
++
+ ZEND_BEGIN_ARG_INFO_EX(xls_file_add_sheet, 0, 0, 1)
+ ZEND_ARG_INFO(0, sheet_name)
+ ZEND_END_ARG_INFO()
+@@ -496,7 +500,7 @@ zend_function_entry xls_methods[] = {
+ PHP_ME(vtiful_xls, __construct, xls_construct_arginfo, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
+ PHP_ME(vtiful_xls, fileName, xls_file_name_arginfo, ZEND_ACC_PUBLIC)
+ PHP_ME(vtiful_xls, addSheet, xls_file_add_sheet, ZEND_ACC_PUBLIC)
+- PHP_ME(vtiful_xls, constMemory, xls_file_name_arginfo, ZEND_ACC_PUBLIC)
++ PHP_ME(vtiful_xls, constMemory, xls_const_memory_arginfo, ZEND_ACC_PUBLIC)
+ PHP_ME(vtiful_xls, header, xls_header_arginfo, ZEND_ACC_PUBLIC)
+ PHP_ME(vtiful_xls, data, xls_data_arginfo, ZEND_ACC_PUBLIC)
+ PHP_ME(vtiful_xls, output, NULL, ZEND_ACC_PUBLIC)
+