Type C header Revision Release 2025.3721 Keywords iOS, Solar2D Native, C, CoronaLua.h See also Corona C Functions
CoronaLua.h contains C and C++ convenience functions for interacting with the Lua state. In particular, they vastly simplify dealing with CoronaLua.
In addition to these, there are functions to bridge iOS and Lua in CoronaLuaIOS.h.
The C++ functions are just thin wrappers around the C functions. The header is designed to work correctly with both C and C++ compilers.
All C++ methods mirror the C functions but instead of the prefix, they are in the Corona::Lua namespace.