mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
26 lines
608 B
Zig
26 lines
608 B
Zig
pub fn start(this: *@This()) Yield {
|
|
return this.bltn().done(0);
|
|
}
|
|
|
|
pub fn deinit(this: *@This()) void {
|
|
_ = this;
|
|
}
|
|
|
|
pub fn onIOWriterChunk(_: *@This(), _: usize, _: ?JSC.SystemError) Yield {
|
|
return .done;
|
|
}
|
|
|
|
pub inline fn bltn(this: *@This()) *Builtin {
|
|
const impl: *Builtin.Impl = @alignCast(@fieldParentPtr("true", this));
|
|
return @fieldParentPtr("impl", impl);
|
|
}
|
|
|
|
// --
|
|
const bun = @import("bun");
|
|
const Yield = bun.shell.Yield;
|
|
const interpreter = @import("../interpreter.zig");
|
|
const Interpreter = interpreter.Interpreter;
|
|
const Builtin = Interpreter.Builtin;
|
|
|
|
const JSC = bun.JSC;
|