summaryrefslogtreecommitdiff
path: root/source/kit/async_function.h
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-02-16 02:37:41 +0100
committerMitya Selivanov <automainint@guattari.tech>2024-02-16 02:37:41 +0100
commit23e63540f2d3ff6da230d1a29aecf33b49d2874d (patch)
tree46ce92001537d37dd9ef7a164880db1a97aa12b5 /source/kit/async_function.h
parent34df687daf49b29e0f2b4d7e0be3bd69df1c40c9 (diff)
downloadsaw-23e63540f2d3ff6da230d1a29aecf33b49d2874d.zip
Update kit
Diffstat (limited to 'source/kit/async_function.h')
-rw-r--r--source/kit/async_function.h61
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