internal -> handle

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

No files matched your search

+1 -1
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
+1 -1
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)) {