mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This patch removes the implementation implementations and just calls the original symbol without the fixes. This allows the library to build and for binaries to link against it without breaking anything with missing symbols.
34 lines
1.6 KiB
C++
34 lines
1.6 KiB
C++
#include "Concurrency/Task.h"
|
|
|
|
#include "Concurrency/TaskPrivate.h"
|
|
#include "Concurrency/Error.h"
|
|
#include "Overrides.h"
|
|
|
|
using namespace swift;
|
|
using FutureFragment = AsyncTask::FutureFragment;
|
|
using TaskGroup = swift::TaskGroup;
|
|
|
|
//===--- swift_task_future_wait -------------------------------------------===//
|
|
|
|
void SWIFT_CC(swiftasync) swift::swift56override_swift_task_future_wait(
|
|
OpaqueValue *result,
|
|
SWIFT_ASYNC_CONTEXT AsyncContext *callerContext,
|
|
AsyncTask *task,
|
|
TaskContinuationFunction *resumeFn,
|
|
AsyncContext *callContext,
|
|
TaskFutureWait_t *original) {
|
|
original(result, callerContext, task, resumeFn, callContext);
|
|
}
|
|
|
|
//===--- swift_task_future_wait_throwing ----------------------------------===//
|
|
|
|
void SWIFT_CC(swiftasync) swift::swift56override_swift_task_future_wait_throwing(
|
|
OpaqueValue *result,
|
|
SWIFT_ASYNC_CONTEXT AsyncContext *callerContext,
|
|
AsyncTask *task,
|
|
ThrowingTaskFutureWaitContinuationFunction *resumeFunction,
|
|
AsyncContext *callContext,
|
|
TaskFutureWaitThrowing_t *original) {
|
|
original(result, callerContext, task, resumeFunction, callContext);
|
|
}
|