We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 304a12e commit 6b48960Copy full SHA for 6b48960
src/engines/v8/generate.zig
@@ -522,7 +522,7 @@ inline fn initJSObject(
522
523
// getV8Object returns the existing v8.Object corresponding to the given native
524
// pointer from the native context.
525
-pub fn getV8Object(nat_ctx: *NativeContext, nat_obj_ptr: anytype) !?v8.Object {
+pub fn getV8Object(nat_ctx: *const NativeContext, nat_obj_ptr: anytype) !?v8.Object {
526
// ensure Native object is a pointer
527
if (comptime !refl.isPointer(@TypeOf(nat_obj_ptr))) return error.NotAPointer;
528
0 commit comments