
ZEND_BEGIN_ARG_INFO_EX(arginfo_swoole_void, 0, 0, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Swoole_Event_add, 0, 0, 2)
ZEND_ARG_INFO(0, fd)
ZEND_ARG_CALLABLE_INFO(0, read_callback, 1)
ZEND_ARG_CALLABLE_INFO(0, write_callback, 1)
ZEND_ARG_INFO(0, events)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Swoole_Event_set, 0, 0, 1)
ZEND_ARG_INFO(0, fd)
ZEND_ARG_CALLABLE_INFO(0, read_callback, 1)
ZEND_ARG_CALLABLE_INFO(0, write_callback, 1)
ZEND_ARG_INFO(0, events)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Swoole_Event_write, 0, 0, 2)
ZEND_ARG_INFO(0, fd)
ZEND_ARG_INFO(0, data)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Swoole_Event_defer, 0, 0, 1)
ZEND_ARG_CALLABLE_INFO(0, callback, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Swoole_Event_cycle, 0, 0, 1)
ZEND_ARG_CALLABLE_INFO(0, callback, 1)
ZEND_ARG_INFO(0, before)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Swoole_Event_del, 0, 0, 1)
ZEND_ARG_INFO(0, fd)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Swoole_Event_isset, 0, 0, 1)
ZEND_ARG_INFO(0, fd)
ZEND_ARG_INFO(0, events)
ZEND_END_ARG_INFO()

#define arginfo_class_Swoole_Event_dispatch arginfo_swoole_void
#define arginfo_class_Swoole_Event_wait arginfo_swoole_void
#define arginfo_class_Swoole_Event_exit arginfo_swoole_void