pioneer/src/lua/Lua.h

28 lines
629 B
C
Raw Normal View History

2020-12-31 07:32:16 -08:00
// Copyright © 2008-2021 Pioneer Developers. See AUTHORS.txt for details
2012-09-15 17:59:15 -07:00
// Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
2012-09-12 04:38:30 -07:00
#ifndef _LUA_H
#define _LUA_H
#include "LuaManager.h"
// home for the global Lua context. here so its shareable between pioneer and
// modelviewer. probably sucks in the long term
namespace Lua {
extern LuaManager *manager;
2020-01-19 21:59:32 -08:00
// Initialize the lua instance
void Init();
2020-01-19 21:59:32 -08:00
// Uninitialize the lua instance
void Uninit();
2020-01-19 21:59:32 -08:00
// Initialize all lua bindings and modules
void InitModules();
// Uninitialize all lua bindings and modules
void UninitModules();
} // namespace Lua
#endif