add arginfo for vkflex()

This commit is contained in:
ch1p 2023-06-20 02:07:11 +03:00
parent 0762f58a86
commit af1e3f265b
2 changed files with 12 additions and 1 deletions

View File

@ -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}
};

10
vkflex_arginfo.h Normal file
View File

@ -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()