Skip to content

Commit

Permalink
fix getclassid patch (JSValue->JSValueConst)
Browse files Browse the repository at this point in the history
from c57f502
  • Loading branch information
ftk committed Jul 22, 2022
1 parent 6b3e9d8 commit 9cee4b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quickjs/patches/getclassid.patch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ index 48aeffc62..8afc4caa1 100644
#endif
}
+
+JSClassID JS_GetClassID(JSValue v)
+JSClassID JS_GetClassID(JSValueConst v)
+{
+ JSObject *p;
+
Expand Down
2 changes: 1 addition & 1 deletion quickjs/quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -54083,7 +54083,7 @@ void JS_AddIntrinsicTypedArrays(JSContext *ctx)
#endif
}

JSClassID JS_GetClassID(JSValue v)
JSClassID JS_GetClassID(JSValueConst v)
{
JSObject *p;

Expand Down

0 comments on commit 9cee4b4

Please sign in to comment.