summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vkflex.c3
-rw-r--r--vkflex_arginfo.h10
2 files changed, 12 insertions, 1 deletions
diff --git a/vkflex.c b/vkflex.c
index a2655d6..667ae98 100644
--- a/vkflex.c
+++ b/vkflex.c
@@ -2,6 +2,7 @@
#include "config.h"
#endif
#include "php.h"
+#include "vkflex_arginfo.h"
#include "vkext_flex.h"
#include <stdio.h>
@@ -17,7 +18,7 @@ PHP_FUNCTION(vkflex);
// list of custom PHP functions provided by this extension
// set {NULL, NULL, NULL} as the last record to mark the end of list
static zend_function_entry my_functions[] = {
- PHP_FE(vkflex, NULL)
+ PHP_FE(vkflex, arginfo_vkflex)
{NULL, NULL, NULL}
};
diff --git a/vkflex_arginfo.h b/vkflex_arginfo.h
new file mode 100644
index 0000000..f94b252
--- /dev/null
+++ b/vkflex_arginfo.h
@@ -0,0 +1,10 @@
+/* This is a generated file, edit the .stub.php file instead.
+ * Stub hash: f42bcb6e76b8feb7e5e912a0cef484c367b721de */
+
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_vkflex, 0, 5, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, case, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, sex, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, lang, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0)
+ZEND_END_ARG_INFO()