aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_util.h
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2015-05-04 14:59:13 -0400
committerShadowNinja <shadowninja@minetest.net>2015-05-16 18:33:22 -0400
commit8f9af57314f71aae1cc77e13f9996e13015d776d (patch)
tree6d939e4d54ef864e9463adce51eed14c73d7e61a /src/script/lua_api/l_util.h
parent6c06330daf04ed1c390131755b64338ca7d79a7e (diff)
downloadminetest-8f9af57314f71aae1cc77e13f9996e13015d776d.tar.gz
minetest-8f9af57314f71aae1cc77e13f9996e13015d776d.tar.bz2
minetest-8f9af57314f71aae1cc77e13f9996e13015d776d.zip
Add core.get_dir_list
Diffstat (limited to 'src/script/lua_api/l_util.h')
-rw-r--r--src/script/lua_api/l_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_util.h b/src/script/lua_api/l_util.h
index 336173664..e75aa28cb 100644
--- a/src/script/lua_api/l_util.h
+++ b/src/script/lua_api/l_util.h
@@ -90,6 +90,9 @@ private:
// mkdir(path)
static int l_mkdir(lua_State *L);
+ // get_dir_list(path, is_dir)
+ static int l_get_dir_list(lua_State *L);
+
// request_insecure_environment()
static int l_request_insecure_environment(lua_State *L);