mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add maximum recursion depth to read_json_value
This commit is contained in:
parent
a9df87ede0
commit
a3586cd18d
2 changed files with 7 additions and 3 deletions
|
@ -152,7 +152,8 @@ bool push_json_value (lua_State *L,
|
|||
int nullindex);
|
||||
void read_json_value (lua_State *L,
|
||||
Json::Value &root,
|
||||
int index);
|
||||
int index,
|
||||
u8 recursion = 0);
|
||||
|
||||
extern struct EnumString es_TileAnimationType[];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue