internal -> handle

This commit is contained in:
Halil Durak
2026-02-17 02:47:51 +03:00
parent 842df0d112
commit d4e24dabc2
2 changed files with 2 additions and 2 deletions

View File

@@ -311,7 +311,7 @@ pub fn zigValueToJs(self: *const Local, value: anytype, comptime opts: CallOpts)
js.ArrayBufferRef(.Int32), js.ArrayBufferRef(.Uint32),
js.ArrayBufferRef(.Float16), js.ArrayBufferRef(.Float32), js.ArrayBufferRef(.Float64),
=> {
return .{ .local = self, .handle = value.internal };
return .{ .local = self, .handle = value.handle };
},
inline

View File

@@ -106,7 +106,7 @@ pub fn ArrayBufferRef(comptime kind: ArrayType) type {
.Float64 => f64,
};
internal: *const v8.Value,
handle: *const v8.Value,
pub fn init(isolate: Isolate, size: usize) Self {
const bits = switch (@typeInfo(BackingInt)) {