mirror of
https://github.com/bellard/quickjs.git
synced 2024-11-25 15:18:12 +08:00
class id argument type fix
This commit is contained in:
parent
a4eff5077e
commit
adcfe4cadb
@ -4943,7 +4943,7 @@ static int JS_SetObjectData(JSContext *ctx, JSValueConst obj, JSValue val)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
JSValue JS_NewObjectClass(JSContext *ctx, int class_id)
|
JSValue JS_NewObjectClass(JSContext *ctx, JSClassID class_id)
|
||||||
{
|
{
|
||||||
return JS_NewObjectProtoClass(ctx, ctx->class_proto[class_id], class_id);
|
return JS_NewObjectProtoClass(ctx, ctx->class_proto[class_id], class_id);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user