summaryrefslogtreecommitdiff
path: root/src/tape.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/tape.zig')
-rw-r--r--src/tape.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tape.zig b/src/tape.zig
index 56789f44..fe16406e 100644
--- a/src/tape.zig
+++ b/src/tape.zig
@@ -993,7 +993,8 @@ fn overNow(since_ns: u64, budget_ns: u64) bool {
return pardes.FrameStats.nowNs() -| since_ns > budget_ns;
}
-fn out(comptime f: anytype, args: anytype) @typeInfo(@TypeOf(f)).@"fn".return_type.? {
+/// One host call, `f(args)`, made out of the turn (pardes.turn).
+pub fn out(comptime f: anytype, args: anytype) @typeInfo(@TypeOf(f)).@"fn".return_type.? {
pardes.turn.yield();
defer pardes.turn.back();
return @call(.auto, f, args);