mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
JSON: Support consistent larger max. depth of 1024
This commit is contained in:
parent
4c419c4020
commit
e2ea359925
4 changed files with 30 additions and 8 deletions
|
@ -200,7 +200,7 @@ bool push_json_value (lua_State *L,
|
|||
const Json::Value &value,
|
||||
int nullindex);
|
||||
void read_json_value (lua_State *L, Json::Value &root,
|
||||
int index, u8 recursion = 0);
|
||||
int index, u16 max_depth);
|
||||
|
||||
/*!
|
||||
* Pushes a Lua `pointed_thing` to the given Lua stack.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue