mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
zig: rename CallFrame.arguments to .arguments_old to free up decl name (#15296)
This commit is contained in:
@@ -1328,7 +1328,7 @@ pub const String = extern struct {
|
||||
}
|
||||
|
||||
pub fn jsGetStringWidth(globalObject: *JSC.JSGlobalObject, callFrame: *JSC.CallFrame) bun.JSError!JSC.JSValue {
|
||||
const args = callFrame.arguments(1).slice();
|
||||
const args = callFrame.arguments_old(1).slice();
|
||||
|
||||
if (args.len == 0 or !args.ptr[0].isString()) {
|
||||
return JSC.jsNumber(@as(i32, 0));
|
||||
|
||||
Reference in New Issue
Block a user