Browse Source

Update cJSONw.cpp

blueloveTH 1 year ago
parent
commit
5725d66113
1 changed files with 1 additions and 1 deletions
  1. 1 1
      3rd/cjson/src/cJSONw.cpp

+ 1 - 1
3rd/cjson/src/cJSONw.cpp

@@ -118,7 +118,7 @@ void add_module_cjson(VM* vm){
     });
 
     vm->bind_func(mod, "dumps", 1, [](VM* vm, ArgsView args) {
-        return vm->py_json(args[0]);
+        return VAR(vm->py_json(args[0]));
     });
 }