summaryrefslogtreecommitdiff
path: root/libs/liblua/include/lua.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/liblua/include/lua.hpp')
-rw-r--r--libs/liblua/include/lua.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/liblua/include/lua.hpp b/libs/liblua/include/lua.hpp
new file mode 100644
index 0000000000..4030829227
--- /dev/null
+++ b/libs/liblua/include/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 "../src/lua.h"
+#include "../src/lualib.h"
+#include "../src/lauxlib.h"
+}