Part 3 – Calling C++ from Lua
With your knowledge of calling Lua from C++, in this part, you will continue to learn how to call C++ from Lua.
You will start by learning how to implement and export a C++ function that can be called from Lua scripts. Then, the complexity will increase step by step. You will export a C++ class as a Lua module and improve the process of how it is exported. Finally, you will have a general module exporter that can help you to export any C++ class to Lua.
This part comprises the following chapters:
- Chapter 6, How to Call C++ from Lua
- Chapter 7, Working with C++ Types
- Chapter 8, Abstracting a C++ Type Exporter