mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 03:48:56 +00:00
28 lines
610 B
Zig
28 lines
610 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 interpreter = @import("../interpreter.zig");
|
|
|
|
const Interpreter = interpreter.Interpreter;
|
|
const Builtin = Interpreter.Builtin;
|
|
|
|
const bun = @import("bun");
|
|
const jsc = bun.jsc;
|
|
const Yield = bun.shell.Yield;
|