aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorch1p <me@ch1p.com>2023-06-20 02:07:11 +0300
committerch1p <me@ch1p.com>2023-06-20 02:07:11 +0300
commitaf1e3f265b89b63a943d2bdb384aa7d114172021 (patch)
treedc4e1dfcdf4be9ae6a6c7eb0ca4ddc75882b55ee
parent0762f58a8664c077d106139fb1e3812135f698bd (diff)
add arginfo for vkflex()
-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()