Pioneer
Loading...
Searching...
No Matches
src
lua
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
11
namespace
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
LuaManager.h
LuaManager
Definition
LuaManager.h:9
Lua
Definition
Lua.cpp:41
Lua::Init
void Init()
Definition
Lua.cpp:47
Lua::UninitModules
void UninitModules()
Definition
Lua.cpp:136
Lua::manager
LuaManager * manager
Definition
Lua.cpp:43
Lua::Uninit
void Uninit()
Definition
Lua.cpp:53
Lua::InitModules
void InitModules()
Definition
Lua.cpp:71
Generated by
1.9.7