http server
This commit is contained in:
@@ -879,7 +879,7 @@ pub const Server = struct {
|
||||
.{ .name = "alloc", .label = "alloc(size: s32) -> string", .params = &.{"size: s32"} },
|
||||
.{ .name = "sqrt", .label = "sqrt(x: $T) -> T", .params = &.{"x: $T"} },
|
||||
.{ .name = "print", .label = "print(fmt: string, args: ..Any)", .params = &.{ "fmt: string", "args: ..Any" } },
|
||||
.{ .name = "write", .label = "write(str: string) -> void", .params = &.{"str: string"} },
|
||||
.{ .name = "out", .label = "out(str: string) -> void", .params = &.{"str: string"} },
|
||||
};
|
||||
for (&builtin_sigs) |b| {
|
||||
const matches = std.mem.eql(u8, call_ctx.name, b.name) or
|
||||
|
||||
Reference in New Issue
Block a user