summaryrefslogtreecommitdiff
path: root/c-embed-lua/lua-5.4.8/src/lua.hpp
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2025-07-17 17:04:08 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2025-07-17 17:04:08 +0200
commit22840a3551d6564ea271d4be6ef7b539d4eba409 (patch)
treeafc8b697bd5ea5aecd3617233a547db10a09c92e /c-embed-lua/lua-5.4.8/src/lua.hpp
parentfccba39aa0c0060e7e17c4075963bf8a428536b1 (diff)
downloadprobe-22840a3551d6564ea271d4be6ef7b539d4eba409.tar.gz
Added embedding Lua
Diffstat (limited to 'c-embed-lua/lua-5.4.8/src/lua.hpp')
-rw-r--r--c-embed-lua/lua-5.4.8/src/lua.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/c-embed-lua/lua-5.4.8/src/lua.hpp b/c-embed-lua/lua-5.4.8/src/lua.hpp
new file mode 100644
index 0000000..ec417f5
--- /dev/null
+++ b/c-embed-lua/lua-5.4.8/src/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"
+}