1
0

Added Expat and LuaExpat, XML parsing now available in the API.

FS #336
Windows version only, Linux to be fixed soon.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1374 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft
2013-04-09 13:43:24 +00:00
parent a144681155
commit 48cec90c3f
28 changed files with 15227 additions and 4 deletions

View File

@@ -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);