summaryrefslogtreecommitdiffstats
path: root/source/Plugin_NewLua.cpp
diff options
context:
space:
mode:
authormadmaxoft <madmaxoft@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-09 15:43:24 +0200
committermadmaxoft <madmaxoft@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-09 15:43:24 +0200
commit48cec90c3f1e81daec3d216ddf4db1ea1e2a8341 (patch)
treebd9c59149da9eec5e22e7bbbb9fe0de6352fee8d /source/Plugin_NewLua.cpp
parentRemoved an unneeded FTP command template file. ncftp supports everything on the commandline. (diff)
downloadcuberite-48cec90c3f1e81daec3d216ddf4db1ea1e2a8341.tar
cuberite-48cec90c3f1e81daec3d216ddf4db1ea1e2a8341.tar.gz
cuberite-48cec90c3f1e81daec3d216ddf4db1ea1e2a8341.tar.bz2
cuberite-48cec90c3f1e81daec3d216ddf4db1ea1e2a8341.tar.lz
cuberite-48cec90c3f1e81daec3d216ddf4db1ea1e2a8341.tar.xz
cuberite-48cec90c3f1e81daec3d216ddf4db1ea1e2a8341.tar.zst
cuberite-48cec90c3f1e81daec3d216ddf4db1ea1e2a8341.zip
Diffstat (limited to 'source/Plugin_NewLua.cpp')
-rw-r--r--source/Plugin_NewLua.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/Plugin_NewLua.cpp b/source/Plugin_NewLua.cpp
index dc3f62c6b..01e9b0cdb 100644
--- a/source/Plugin_NewLua.cpp
+++ b/source/Plugin_NewLua.cpp
@@ -24,6 +24,12 @@ extern "C"
LUALIB_API int luaopen_lsqlite3(lua_State * L);
}
+// fwd: LuaExpat/lxplib.c:
+extern "C"
+{
+ int luaopen_lxp(lua_State * L);
+}
+
@@ -84,6 +90,7 @@ bool cPlugin_NewLua::Initialize(void)
tolua_AllToLua_open(m_LuaState);
ManualBindings::Bind(m_LuaState);
luaopen_lsqlite3(m_LuaState);
+ luaopen_lxp(m_LuaState);
// Inject the identification global variables into the state:
lua_pushlightuserdata(m_LuaState, this);