Pioneer
Loading...
Searching...
No Matches
Lua.h
Go to the documentation of this file.
1// Copyright © 2008-2023 Pioneer Developers. See AUTHORS.txt for details
2// Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
3
4#ifndef _LUA_H
5#define _LUA_H
6
7#include "LuaManager.h"
8
9// home for the global Lua context. here so its shareable between pioneer and
10// modelviewer. probably sucks in the long term
11namespace Lua {
12
13 extern LuaManager *manager;
14
15 // Initialize the lua instance
16 void Init();
17 // Uninitialize the lua instance
18 void Uninit();
19
20 // Initialize all lua bindings and modules
21 void InitModules();
22 // Uninitialize all lua bindings and modules
23 void UninitModules();
24
25} // namespace Lua
26
27#endif
Definition LuaManager.h:9
Definition Lua.cpp:41
void Init()
Definition Lua.cpp:47
void UninitModules()
Definition Lua.cpp:136
LuaManager * manager
Definition Lua.cpp:43
void Uninit()
Definition Lua.cpp:53
void InitModules()
Definition Lua.cpp:71