Files
swift-mirror/include/swift/Runtime/Coro.h
Nate Chandler dd8cbe3e0a [CoroutineAccessors] Use retcon.once variant.
Allocate a coroutine frame in the caller based on the size in the
corresponding "function pointer" and pass it along with an allocator to
the callee.
2025-02-27 07:53:58 -08:00

27 lines
839 B
C++

//===-------- Coro.h - Runtime interface for coroutines ---------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2025 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
//
// The runtime interface for coroutines.
//
//===----------------------------------------------------------------------===//
#ifndef SWIFT_RUNTIME_CORO_H
#define SWIFT_RUNTIME_CORO_H
#include "swift/ABI/Coro.h"
#include "swift/Runtime/Config.h"
#include <cstddef>
namespace swift {} // end namespace swift
#endif