summaryrefslogtreecommitdiff
path: root/src/tangara/lua/lua_filesystem.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-05-10 14:28:03 +1000
committerjacqueline <me@jacqueline.id.au>2024-05-10 14:28:03 +1000
commit41426151a1cb9e7bf27fae4d1ee2dbba7553e3fa (patch)
treeda28cf369c04a0d39977de6b23fb100d43b6ba92 /src/tangara/lua/lua_filesystem.hpp
parent1d0ad4cbf9bd7e9a9c3deabed31342a4b10cac4b (diff)
parent35c6125b25f3f0c1852c74f9d165a46282494a7c (diff)
downloadtangara-fw-41426151a1cb9e7bf27fae4d1ee2dbba7553e3fa.tar.gz
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
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..d0f51498
--- /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 "lua/file_iterator.hpp"
+
+namespace lua {
+
+auto check_file_iterator(lua_State*, int stack_pos) -> lua::FileIterator*;
+
+auto RegisterFileSystemModule(lua_State*) -> void;
+
+} // namespace lua