summaryrefslogtreecommitdiff
path: root/test/macos_e2e.swift
diff options
context:
space:
mode:
Diffstat (limited to 'test/macos_e2e.swift')
-rw-r--r--test/macos_e2e.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/macos_e2e.swift b/test/macos_e2e.swift
index 74a03200..38d27808 100644
--- a/test/macos_e2e.swift
+++ b/test/macos_e2e.swift
@@ -51,7 +51,7 @@ private struct ScriptError: Error {
}
/// What the three C callbacks reach through `userdata`. A class, because a C
-/// function pointer cannot capture: a pointer the runtime struct carries is the
+/// function pointer cannot capture: a pointer the callbacks struct carries is the
/// only way back into Swift state.
private final class Host {
/// Set by `wakeup`, which runs on a pty reader thread. Nothing else in the
@@ -168,7 +168,7 @@ private final class Driver: PardesViewDelegate {
message: "the view measured \(got.cols)x\(got.rows) cells, not the \(cols)x\(rows) the script asked for")
}
- var runtime = pardes_runtime_s(
+ var runtime = pardes_callbacks_s(
userdata: Unmanaged.passUnretained(host).toOpaque(),
wakeup: { ud in
// A pty reader thread. One flag and out — see Host.woke.