1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Add minetest.safe_write_file() to script API

This commit is contained in:
sfan5 2017-11-07 11:46:06 +01:00
parent 9526c68699
commit b692454f70
3 changed files with 25 additions and 0 deletions

View file

@ -80,6 +80,9 @@ private:
// get_dir_list(path, is_dir)
static int l_get_dir_list(lua_State *L);
// safe_file_write(path, content)
static int l_safe_file_write(lua_State *L);
// request_insecure_environment()
static int l_request_insecure_environment(lua_State *L);