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:
parent
9526c68699
commit
b692454f70
3 changed files with 25 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue