MCPcopy Create free account
hub / github.com/defold/defold / json_cfg_decode_invalid_numbers

Function json_cfg_decode_invalid_numbers

engine/script/src/luacjson/lua_cjson.c:419–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417}
418
419static int json_cfg_decode_invalid_numbers(lua_State *l)
420{
421 json_config_t *cfg = json_arg_init(l, 1);
422
423 json_enum_option(l, 1, &cfg->decode_invalid_numbers, NULL, 1);
424
425 json_verify_invalid_number_setting(l, &cfg->encode_invalid_numbers);
426
427 return 1;
428}
429
430static int json_cfg_encode_escape_forward_slash(lua_State *l)
431{

Callers

nothing calls this directly

Calls 3

json_arg_initFunction · 0.85
json_enum_optionFunction · 0.85

Tested by

no test coverage detected