mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 19:38:58 +00:00
27 lines
639 B
Zig
27 lines
639 B
Zig
pub fn start(this: *@This()) Maybe(void) {
|
|
this.bltn().done(0);
|
|
return Maybe(void).success;
|
|
}
|
|
|
|
pub fn onIOWriterChunk(_: *@This(), _: usize, _: ?JSC.SystemError) void {
|
|
// no IO is done
|
|
}
|
|
|
|
pub fn deinit(this: *@This()) void {
|
|
_ = this;
|
|
}
|
|
|
|
pub inline fn bltn(this: *@This()) *Builtin {
|
|
const impl: *Builtin.Impl = @alignCast(@fieldParentPtr("true", this));
|
|
return @fieldParentPtr("impl", impl);
|
|
}
|
|
|
|
// --
|
|
const bun = @import("bun");
|
|
const interpreter = @import("../interpreter.zig");
|
|
const Interpreter = interpreter.Interpreter;
|
|
const Builtin = Interpreter.Builtin;
|
|
|
|
const JSC = bun.JSC;
|
|
const Maybe = bun.sys.Maybe;
|