We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa22ef9 commit 47efda5Copy full SHA for 47efda5
stdlib/public/Concurrency/ExecutorBridge.h
@@ -23,15 +23,17 @@ namespace swift {
23
extern "C" SWIFT_CC(swift)
24
SerialExecutorRef swift_getMainExecutor();
25
26
+#if !SWIFT_CONCURRENCY_EMBEDDED
27
-void *swift_createDispatchEvent(void (^handler)());
28
+void *swift_createDispatchEventC(void (*handler)(void *), void *context);
29
30
-void swift_destroyDispatchEvent(void *event);
31
+void swift_destroyDispatchEventC(void *event);
32
33
34
void swift_signalDispatchEvent(void *event);
-
35
+#endif // !SWIFT_CONCURRENCY_EMBEDDED
36
+
37
extern "C" SWIFT_CC(swift) __attribute__((noreturn))
38
void swift_dispatchMain();
39
0 commit comments