summaryrefslogtreecommitdiff
path: root/lua.hpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-10-10 08:32:37 +0800
committerchai <chaifix@163.com>2019-10-10 08:32:37 +0800
commit2980245830f2e198d61cab7a8b837dcf7971ab79 (patch)
tree4ad17716dfb248c60f1c1038a3315b3b7c0c134d /lua.hpp
*init
Diffstat (limited to 'lua.hpp')
-rw-r--r--lua.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua.hpp b/lua.hpp
new file mode 100644
index 0000000..ec417f5
--- /dev/null
+++ b/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"
+}