Learn the Lua C API fundamentals: how lua_State manages execution contexts, how the virtual stack works, and how to push, query, and pop values from C.
Tutorial series
Lua C API
1 tutorial — follow in order for the best learning path.
- The Lua C API: Stack and State