Lua 與 C 擴充 (Extending Lua with C or C++)
如何讓 Lua 與 C 或 C++ 互通呢?
環境
windows 11 64bit
Visual Studio 2022
Lua 5.4.6
1. 用 Visual Studio 在 windows 編譯 lua-5.4.6
https://husking-studio.com/visual-studio-windows-compile-lua
2. Lua 與 C 擴充 -簡單函式
https://husking-studio.com/extending-lua-with-c-simple-function
3. Lua 與 C 擴充 -C++類別
https://husking-studio.com/extending-lua-with-c-class
4. Lua 與 C 擴充 -透過 C++ 執行檔的各種處理
https://husking-studio.com/extending-lua-with-c-execution
5. Lua 與 C 擴充 -透過 C++ 執行檔處理類別
https://husking-studio.com/extending-lua-with-c-execution-pointer
6. Lua 與 C 擴充 -將 C++ 指標傳去給 Lua
https://husking-studio.com/extending-lua-with-c-pointer
Extending Lua with C or C++
lua C API
lua 與 C 的相互呼叫
lua 與 C 擴充
lua 與 C++ 擴充
如何讓 lua 使用 C 的函式庫