Skip to content

Commit 43b1518

Browse files
committed
Remove useless arginfo
1 parent 112f552 commit 43b1518

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

ext-src/stubs/php_swoole_socket_coro_arginfo.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: d117c3c8b36d0918b5c030a67e9d37ff9a76c669 */
2+
* Stub hash: 7d2b3ea5b4d1613340006de2fa67d2a0bf314f09 */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Swoole_Coroutine_Socket___construct, 0, 0, 2)
55
ZEND_ARG_TYPE_INFO(0, domain, IS_LONG, 0)
@@ -130,8 +130,3 @@ ZEND_END_ARG_INFO()
130130
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_Swoole_Coroutine_Socket_import, 0, 1, Swoole\\Coroutine\\Socket, MAY_BE_FALSE)
131131
ZEND_ARG_INFO(0, stream)
132132
ZEND_END_ARG_INFO()
133-
134-
#if defined(SW_THREAD)
135-
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Swoole_Coroutine_Socket___wakeup, 0, 0, IS_VOID, 0)
136-
ZEND_END_ARG_INFO()
137-
#endif

ext-src/stubs/php_swoole_thread_arginfo.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 54c9d0c2a88bb65cab67d14129aa56806c31bb00 */
2+
* Stub hash: 234aeadaab2ab31facf1909f0e3027e433f2a88f */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Swoole_Thread___construct, 0, 0, 1)
55
ZEND_ARG_TYPE_INFO(0, script_file, IS_STRING, 0)
@@ -13,11 +13,6 @@ ZEND_END_ARG_INFO()
1313

1414
#define arginfo_class_Swoole_Thread_detach arginfo_class_Swoole_Thread_join
1515

16-
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Swoole_Thread_exec, 0, 1, Swoole\\Thread, 0)
17-
ZEND_ARG_TYPE_INFO(0, script_file, IS_STRING, 0)
18-
ZEND_ARG_VARIADIC_TYPE_INFO(0, args, IS_MIXED, 0)
19-
ZEND_END_ARG_INFO()
20-
2116
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Swoole_Thread_getArguments, 0, 0, IS_ARRAY, 0)
2217
ZEND_END_ARG_INFO()
2318

ext-src/swoole_thread.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ static const zend_function_entry swoole_thread_methods[] = {
137137
PHP_ME(swoole_thread, join, arginfo_class_Swoole_Thread_join, ZEND_ACC_PUBLIC)
138138
PHP_ME(swoole_thread, joinable, arginfo_class_Swoole_Thread_joinable, ZEND_ACC_PUBLIC)
139139
PHP_ME(swoole_thread, detach, arginfo_class_Swoole_Thread_detach, ZEND_ACC_PUBLIC)
140-
PHP_ME(swoole_thread, exec, arginfo_class_Swoole_Thread_exec, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
141140
PHP_ME(swoole_thread, getArguments, arginfo_class_Swoole_Thread_getArguments, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
142141
PHP_ME(swoole_thread, getId, arginfo_class_Swoole_Thread_getId, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
143142
PHP_ME(swoole_thread, getTsrmInfo, arginfo_class_Swoole_Thread_getTsrmInfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)

0 commit comments

Comments
 (0)