mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-10 16:08:15 +00:00
20 lines
301 B
C++
20 lines
301 B
C++
#include "LuaPlugin.h"
|
|
#include <RmlUi/Core/Core.h>
|
|
#include <RmlUi/Lua/Lua.h>
|
|
|
|
namespace Rml {
|
|
namespace Lua {
|
|
|
|
void Initialise()
|
|
{
|
|
::Rml::Lua::Initialise(nullptr);
|
|
}
|
|
|
|
void Initialise(lua_State* lua_state)
|
|
{
|
|
::Rml::RegisterPlugin(new LuaPlugin(lua_state));
|
|
}
|
|
|
|
} // namespace Lua
|
|
} // namespace Rml
|