summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/lua/lua.hpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-05-09 13:57:44 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-05-09 13:57:44 +0000
commit4a09e17523dfccf52fb802e27e038f3e6456028f (patch)
tree9cbc8dcd1267e42f008e0e834730e5f4814562f1 /src/lib/lua/lua.hpp
parent5871e48352eef4bfd480b3c205dc8930abc043d9 (diff)
LUA 5.2.2 added to libraries, did basic hookup of LUA VM into running machine [Miodrag Milanovic]
added -script (or -autoboot_script) command to execute LUA script after driver startup
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 00000000000..ec417f59469
--- /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"
+}