summaryrefslogtreecommitdiff
path: root/src/tangara/lua/lua_filesystem.hpp
blob: d0f51498b2acaa99439ea6f1fc08e47b18992632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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