xref: /PHP-8.4/ext/zend_test/fiber_arginfo.h (revision 8d12f666)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 8cd7626122b050585503ccebe370a61781ff83f2 */
3 
4 ZEND_BEGIN_ARG_INFO_EX(arginfo_class__ZendTestFiber___construct, 0, 0, 1)
5 	ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
6 ZEND_END_ARG_INFO()
7 
8 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class__ZendTestFiber_start, 0, 0, IS_MIXED, 0)
9 	ZEND_ARG_VARIADIC_TYPE_INFO(0, args, IS_MIXED, 0)
10 ZEND_END_ARG_INFO()
11 
12 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class__ZendTestFiber_resume, 0, 0, IS_MIXED, 0)
13 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_MIXED, 0, "null")
14 ZEND_END_ARG_INFO()
15 
16 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class__ZendTestFiber_pipeTo, 0, 1, _ZendTestFiber, 0)
17 	ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
18 ZEND_END_ARG_INFO()
19 
20 #define arginfo_class__ZendTestFiber_suspend arginfo_class__ZendTestFiber_resume
21 
22 static ZEND_METHOD(_ZendTestFiber, __construct);
23 static ZEND_METHOD(_ZendTestFiber, start);
24 static ZEND_METHOD(_ZendTestFiber, resume);
25 static ZEND_METHOD(_ZendTestFiber, pipeTo);
26 static ZEND_METHOD(_ZendTestFiber, suspend);
27 
28 static const zend_function_entry class__ZendTestFiber_methods[] = {
29 	ZEND_ME(_ZendTestFiber, __construct, arginfo_class__ZendTestFiber___construct, ZEND_ACC_PUBLIC)
30 	ZEND_ME(_ZendTestFiber, start, arginfo_class__ZendTestFiber_start, ZEND_ACC_PUBLIC)
31 	ZEND_ME(_ZendTestFiber, resume, arginfo_class__ZendTestFiber_resume, ZEND_ACC_PUBLIC)
32 	ZEND_ME(_ZendTestFiber, pipeTo, arginfo_class__ZendTestFiber_pipeTo, ZEND_ACC_PUBLIC)
33 	ZEND_ME(_ZendTestFiber, suspend, arginfo_class__ZendTestFiber_suspend, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
34 	ZEND_FE_END
35 };
36 
register_class__ZendTestFiber(void)37 static zend_class_entry *register_class__ZendTestFiber(void)
38 {
39 	zend_class_entry ce, *class_entry;
40 
41 	INIT_CLASS_ENTRY(ce, "_ZendTestFiber", class__ZendTestFiber_methods);
42 	class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL);
43 
44 	return class_entry;
45 }
46