Skip to content

Commit 0324584

Browse files
committed
fix: upgrade quickjs-ng;
fix: remove unused JSContext parameter from IsBigInt
1 parent a4fbde3 commit 0324584

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

libquickjs-sys/embed/extensions.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ bool JS_Ext_IsNumber(JSValue v)
102102
return JS_IsNumber(v);
103103
}
104104

105-
bool JS_Ext_IsBigInt(JSContext *ctx, JSValue v)
105+
bool JS_Ext_IsBigInt(JSValue v)
106106
{
107-
return JS_IsBigInt(ctx, v);
107+
return JS_IsBigInt(v);
108108
}
109109

110110
// JS_Ext_BOOL JS_IsBigFloat(JSValue v) {

libquickjs-sys/embed/extensions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extern "C"
2525
int JS_Ext_GetNormTag(JSValue v);
2626

2727
bool JS_Ext_IsNumber(JSValue v);
28-
bool JS_Ext_IsBigInt(JSContext *ctx, JSValue v);
28+
bool JS_Ext_IsBigInt(JSValue v);
2929
bool JS_Ext_IsBool(JSValue v);
3030
bool JS_Ext_IsNull(JSValue v);
3131
bool JS_Ext_IsUndefined(JSValue v);

0 commit comments

Comments
 (0)