diff options
| author | ailurux <ailurux@noreply.codeberg.org> | 2024-05-10 04:20:00 +0000 |
|---|---|---|
| committer | ailurux <ailurux@noreply.codeberg.org> | 2024-05-10 04:20:00 +0000 |
| commit | 35c6125b25f3f0c1852c74f9d165a46282494a7c (patch) | |
| tree | 695b8229205e108f04da7d1ded7f0af35bf1ff9c /src/tangara/lua/lua_filesystem.hpp | |
| parent | e4ce7c4ac23402e09be8d6a52e0f739c0dff4ff0 (diff) | |
| parent | ce9861260d5642eb496e447eb7e93de5938c6b1f (diff) | |
| download | tangara-fw-35c6125b25f3f0c1852c74f9d165a46282494a7c.tar.gz | |
Merge pull request 'file-browser' (#71) from file-browser into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/71
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
Diffstat (limited to 'src/tangara/lua/lua_filesystem.hpp')
| -rw-r--r-- | src/tangara/lua/lua_filesystem.hpp | 17 |
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 |
