aboutsummaryrefslogtreecommitdiff
path: root/src/lib/lua/lua.hpp
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2016-07-15 22:45:41 +0200
committerAlex Auvolat <alex@adnab.me>2016-07-15 22:45:41 +0200
commitba4e59a1d687173ac5cfa74d26d71d6059dc6bc6 (patch)
treeb8cc1a9ec18bf706d761539b14dda2c9aaedb91e /src/lib/lua/lua.hpp
parent7a1ea510a9fc43ccbc257601b149a90920332e13 (diff)
downloadkogata-ba4e59a1d687173ac5cfa74d26d71d6059dc6bc6.tar.gz
kogata-ba4e59a1d687173ac5cfa74d26d71d6059dc6bc6.zip
Move stuff around
Diffstat (limited to 'src/lib/lua/lua.hpp')
-rw-r--r--src/lib/lua/lua.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/lua/lua.hpp b/src/lib/lua/lua.hpp
new file mode 100644
index 0000000..ec417f5
--- /dev/null
+++ b/src/lib/lua/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"
+}