diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 23:51:06 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 09:54:56 -0300 |
| commit | 617cdcc8999cefdfd785b80026805cef51d96b08 (patch) | |
| tree | 5fe9c3b585bf5afefa3ef7c967afdc0a30b43adb /src/tape.zig | |
| parent | 2e6155f3452ede7425e119a15c0efd164e9afbd6 (diff) | |
| download | pardes-617cdcc8999cefdfd785b80026805cef51d96b08.tar.gz pardes-617cdcc8999cefdfd785b80026805cef51d96b08.zip | |
Store: dropPending takes no allocator and forget calls it, an x record is parsed by one parseReopened for apply and compact, a test's dead variable goes, and host() is tape.out, now pub, by name
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/tape.zig')
| -rw-r--r-- | src/tape.zig | 3 |
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); |
