From 4aed95a3cdf6eb39e158cb2333d09b354afe3614 Mon Sep 17 00:00:00 2001 From: ailurux Date: Thu, 2 May 2024 17:02:58 +1000 Subject: WIP: Lua filesystem starting point --- src/lua/include/lua_filesystem.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/lua/include/lua_filesystem.hpp (limited to 'src/lua/include/lua_filesystem.hpp') diff --git a/src/lua/include/lua_filesystem.hpp b/src/lua/include/lua_filesystem.hpp new file mode 100644 index 00000000..2a829405 --- /dev/null +++ b/src/lua/include/lua_filesystem.hpp @@ -0,0 +1,17 @@ +/* + * Copyright 2023 ailurux + * + * 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 -- cgit v1.2.3