mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 19:08:50 +00:00
Fix make headers jun 15 edition
This commit is contained in:
@@ -293,6 +293,7 @@ pub const String = extern struct {
|
||||
) String;
|
||||
|
||||
pub fn createExternal(bytes: []const u8, isLatin1: bool, ctx: ?*anyopaque, callback: ?*const fn (*anyopaque, *anyopaque, u32) callconv(.C) void) String {
|
||||
JSC.markBinding(@src());
|
||||
return BunString__createExternal(bytes.ptr, bytes.len, isLatin1, ctx, callback);
|
||||
}
|
||||
|
||||
@@ -348,6 +349,8 @@ pub const String = extern struct {
|
||||
}
|
||||
|
||||
pub fn toWTF(this: *String) void {
|
||||
JSC.markBinding(@src());
|
||||
|
||||
BunString__toWTFString(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user