json correct args
This commit is contained in:
4
json.c
4
json.c
@@ -52,8 +52,8 @@ static JSValue js_cell_json_decode (JSContext *ctx, JSValue this_val, int argc,
|
||||
}
|
||||
|
||||
static const JSCFunctionListEntry js_cell_json_funcs[] = {
|
||||
JS_CFUNC_DEF ("encode", 1, js_cell_json_encode),
|
||||
JS_CFUNC_DEF ("decode", 1, js_cell_json_decode),
|
||||
JS_CFUNC_DEF ("encode", 4, js_cell_json_encode),
|
||||
JS_CFUNC_DEF ("decode", 2, js_cell_json_decode),
|
||||
};
|
||||
|
||||
JSValue js_core_json_use (JSContext *ctx) {
|
||||
|
||||
Reference in New Issue
Block a user