class id argument type fix
This commit is contained in:
parent
a4eff5077e
commit
adcfe4cadb
1 changed files with 1 additions and 1 deletions
|
@ -4943,7 +4943,7 @@ static int JS_SetObjectData(JSContext *ctx, JSValueConst obj, JSValue val)
|
|||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue