Exercises
- Rewrite the string key overload version of
LuaExecutor::getTable
andLuaExecutor::setTable
. Use thelua_getfield
andlua_setfield
Lua library functions. You can use the same test code in this chapter to test whether you have implemented them correctly. - Implement
LuaExecutor::vtcall
. You should have already done so whether you have reached this point.