I'm a beginner in Lua and I just found out some functions look like table (e.g. function love.update(dt)
) in Lua.
I wonder how these functions work. For example, does update
function belong to table love
? If so, should one construct this table somewhere beforehand?
Lastly, I would like to ask how to call these kind of functions from C++. (Please show me an example how to call love.update()
from C++)