mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 04:34:44 +00:00
internal -> handle
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user