summaryrefslogtreecommitdiff
path: root/luaext/linit.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-04-16 15:13:25 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-04-16 15:37:52 +0300
commitd48e6c8380ebd1f8d4d4f2c80237dc1488da4721 (patch)
tree004158090fc80b15a620f2c960b0e029cad25835 /luaext/linit.h
parent23f6917b10b6579f39199e4cf831bb13fc596824 (diff)
downloadlibrpm-tizen-d48e6c8380ebd1f8d4d4f2c80237dc1488da4721.tar.gz
librpm-tizen-d48e6c8380ebd1f8d4d4f2c80237dc1488da4721.tar.bz2
librpm-tizen-d48e6c8380ebd1f8d4d4f2c80237dc1488da4721.zip
Start phasing out internal copy of Lua
- don't build internal copy of Lua - move 3rd party extensions (posix and rexlib) to toplevel luaext/ directory, built by default (unless --without-lua specified) - auto*foo checks for external Lua - minimal tweaks to lposix.c and rpmlua.c to get them build with Lua 5.1
Diffstat (limited to 'luaext/linit.h')
-rw-r--r--luaext/linit.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/luaext/linit.h b/luaext/linit.h
new file mode 100644
index 000000000..04cbb2dd6
--- /dev/null
+++ b/luaext/linit.h
@@ -0,0 +1,6 @@
+#ifndef LINIT_H
+#define LINIT_H
+
+int luaopen_init(lua_State *L);
+
+#endif