diff options
Diffstat (limited to 'source/kit/async_function.h')
-rw-r--r-- | source/kit/async_function.h | 61 |
1 files changed, 29 insertions, 32 deletions
diff --git a/source/kit/async_function.h b/source/kit/async_function.h index e94fc31..70a81cd 100644 --- a/source/kit/async_function.h +++ b/source/kit/async_function.h @@ -200,37 +200,34 @@ static void kit_async_function_dispatch(void *promise) { } #endif -#ifndef KIT_DISABLE_SHORT_NAMES -# define af_void kit_af_void -# define af_state_machine kit_af_state_machine -# define af_type_void kit_af_type_void - -# define AF_STATE_DATA KIT_AF_STATE_DATA -# define AF_STATE KIT_AF_STATE -# define AF_DECL KIT_AF_DECL -# define CORO_IMPL KIT_CORO_IMPL -# define CORO_END KIT_CORO_END -# define CORO_DECL KIT_CORO_DECL -# define CORO KIT_CORO -# define CORO_DECL_VOID KIT_CORO_DECL_VOID -# define STATIC_CORO KIT_STATIC_CORO -# define STATIC_CORO_VOID KIT_STATIC_CORO_VOID -# define CORO_VOID KIT_CORO_VOID -# define AF_EXECUTE KIT_AF_EXECUTE -# define AF_NEXT KIT_AF_NEXT -# define AF_YIELD KIT_AF_YIELD -# define AF_YIELD_VOID KIT_AF_YIELD_VOID -# define AF_RETURN KIT_AF_RETURN -# define AF_RETURN_VOID KIT_AF_RETURN_VOID -# define AF_AWAIT KIT_AF_AWAIT -# define AF_YIELD_AWAIT KIT_AF_YIELD_AWAIT -# define AF_TYPE KIT_AF_TYPE -# define AF_INITIAL KIT_AF_INITIAL -# define AF_CREATE KIT_AF_CREATE -# define AF_INIT KIT_AF_INIT -# define AF_FINISHED KIT_AF_FINISHED -# define AF_FINISHED_N KIT_AF_FINISHED_N -# define AF_FINISHED_ALL KIT_AF_FINISHED_ALL -#endif +#define af_void kit_af_void +#define af_state_machine kit_af_state_machine +#define af_type_void kit_af_type_void +#define AF_STATE_DATA KIT_AF_STATE_DATA +#define AF_STATE KIT_AF_STATE +#define AF_DECL KIT_AF_DECL +#define CORO_IMPL KIT_CORO_IMPL +#define CORO_END KIT_CORO_END +#define CORO_DECL KIT_CORO_DECL +#define CORO KIT_CORO +#define CORO_DECL_VOID KIT_CORO_DECL_VOID +#define STATIC_CORO KIT_STATIC_CORO +#define STATIC_CORO_VOID KIT_STATIC_CORO_VOID +#define CORO_VOID KIT_CORO_VOID +#define AF_EXECUTE KIT_AF_EXECUTE +#define AF_NEXT KIT_AF_NEXT +#define AF_YIELD KIT_AF_YIELD +#define AF_YIELD_VOID KIT_AF_YIELD_VOID +#define AF_RETURN KIT_AF_RETURN +#define AF_RETURN_VOID KIT_AF_RETURN_VOID +#define AF_AWAIT KIT_AF_AWAIT +#define AF_YIELD_AWAIT KIT_AF_YIELD_AWAIT +#define AF_TYPE KIT_AF_TYPE +#define AF_INITIAL KIT_AF_INITIAL +#define AF_CREATE KIT_AF_CREATE +#define AF_INIT KIT_AF_INIT +#define AF_FINISHED KIT_AF_FINISHED +#define AF_FINISHED_N KIT_AF_FINISHED_N +#define AF_FINISHED_ALL KIT_AF_FINISHED_ALL #endif |