Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion c/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ JSValue *QTS_NewFunction(JSContext *ctx, uint32_t func_id, const char *name) {
/* JSCFunctionMagic* */ &qts_call_function,
/* name */ name,
/* min argc */ 0,
/* function type */ JS_CFUNC_generic_magic,
/* function type */ JS_CFUNC_constructor_or_func_magic,
/* magic: fn id */ func_id);
return jsvalue_to_heap(func_obj);
}
Expand Down