summaryrefslogtreecommitdiff
path: root/src/plugin-luaxml.cc
diff options
context:
space:
mode:
authorpixel <pixel>2008-07-04 12:01:52 +0000
committerpixel <pixel>2008-07-04 12:01:52 +0000
commitcee868801b55aa4302c91a46df8daf38388163e7 (patch)
tree1bd77d5167f0a18ff7beb603b1b359c7b8c459b1 /src/plugin-luaxml.cc
Adding project files.
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();
+}
+
+}