blob: fa2c26a307db82cdbfb9dbe144a2efbbfb1ac605 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* Copyright 2023 jacqueline <me@jacqueline.id.au>
*
* SPDX-License-Identifier: GPL-3.0-only
*/
#pragma once
#include "lua.hpp"
#include "database/database.hpp"
namespace lua {
auto db_check_iterator(lua_State*, int stack_pos) -> database::Iterator*;
auto db_check_record(lua_State*, int stack_pos) -> database::Record*;
auto pushTagValue(lua_State* L, const database::TagValue& val) -> void;
auto RegisterDatabaseModule(lua_State*) -> void;
} // namespace lua
|