From af1e3f265b89b63a943d2bdb384aa7d114172021 Mon Sep 17 00:00:00 2001 From: ch1p Date: Tue, 20 Jun 2023 02:07:11 +0300 Subject: [PATCH] add arginfo for vkflex() --- vkflex.c | 3 ++- vkflex_arginfo.h | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 vkflex_arginfo.h 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 @@ -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()