summaryrefslogtreecommitdiff
path: root/src/tangara/lua/lua_filesystem.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tangara/lua/lua_filesystem.hpp')
-rw-r--r--src/tangara/lua/lua_filesystem.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/tangara/lua/lua_filesystem.hpp b/src/tangara/lua/lua_filesystem.hpp
new file mode 100644
index 00000000..2a829405
--- /dev/null
+++ b/src/tangara/lua/lua_filesystem.hpp
@@ -0,0 +1,17 @@
+/*
+ * Copyright 2023 ailurux <ailuruxx@gmail.com>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+#pragma once
+
+#include "lua.hpp"
+#include "file_iterator.hpp"
+
+namespace lua {
+
+auto check_file_iterator(lua_State*, int stack_pos) -> database::FileIterator*;
+
+auto RegisterFileSystemModule(lua_State*) -> void;
+
+} // namespace lua