summaryrefslogtreecommitdiff
path: root/src/plugin-luaxml.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin-luaxml.cc')
-rw-r--r--src/plugin-luaxml.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugin-luaxml.cc b/src/plugin-luaxml.cc
new file mode 100644
index 0000000..2cec871
--- /dev/null
+++ b/src/plugin-luaxml.cc
@@ -0,0 +1,10 @@
+#include <LuaXML.h>
+
+extern "C" {
+
+void init_plugin(Lua * L) {
+ luaopen_xml(L);
+ L->pop();
+}
+
+}