summaryrefslogtreecommitdiff
path: root/share/lua/etc/lua.hpp
diff options
context:
space:
mode:
authormnicky <xmnicky@gmail.com>2013-11-05 10:59:48 +0100
committermnicky <xmnicky@gmail.com>2013-11-05 10:59:48 +0100
commitc458b53b732dbdcb72a80c76794881e6db21f3ed (patch)
tree1f2655f1479fc4a21dda0a1b5a33796e791b5b40 /share/lua/etc/lua.hpp
downloadlua-Debian-x86_64.tar.gz
[luadist-git] add lua-5.1.5-Debian-x86_64 [ci skip]5.1.5-Debian-x86_64Debian-x86_64
Diffstat (limited to 'share/lua/etc/lua.hpp')
-rw-r--r--share/lua/etc/lua.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/lua/etc/lua.hpp b/share/lua/etc/lua.hpp
new file mode 100644
index 0000000..ec417f5
--- /dev/null
+++ b/share/lua/etc/lua.hpp
@@ -0,0 +1,9 @@
+// lua.hpp
+// Lua header files for C++
+// <<extern "C">> not supplied automatically because Lua also compiles as C++
+
+extern "C" {
+#include "lua.h"
+#include "lualib.h"
+#include "lauxlib.h"
+}