mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
Update cJSONw.cpp
This commit is contained in:
parent
eae0aa6c8b
commit
5725d66113
@ -118,7 +118,7 @@ void add_module_cjson(VM* vm){
|
|||||||
});
|
});
|
||||||
|
|
||||||
vm->bind_func(mod, "dumps", 1, [](VM* vm, ArgsView args) {
|
vm->bind_func(mod, "dumps", 1, [](VM* vm, ArgsView args) {
|
||||||
return vm->py_json(args[0]);
|
return VAR(vm->py_json(args[0]));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user