summaryrefslogtreecommitdiff
path: root/luaext/lposix.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/lposix.h
parent23f6917b10b6579f39199e4cf831bb13fc596824 (diff)
downloadrpm-d48e6c8380ebd1f8d4d4f2c80237dc1488da4721.tar.gz
rpm-d48e6c8380ebd1f8d4d4f2c80237dc1488da4721.tar.bz2
rpm-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/lposix.h')
-rw-r--r--luaext/lposix.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/luaext/lposix.h b/luaext/lposix.h
new file mode 100644
index 000000000..e1e819cb3
--- /dev/null
+++ b/luaext/lposix.h
@@ -0,0 +1,6 @@
+#ifndef LPOSIX_H
+#define LPOSIX_H
+
+int luaopen_posix (lua_State *L);
+
+#endif