MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / luaD_tryfuncTM

Function luaD_tryfuncTM

CPPScripts/External/Lua/ldo.c:390–402  ·  view source on GitHub ↗

** Check whether 'func' has a '__call' metafield. If so, put it in the ** stack, below original 'func', so that 'luaD_precall' can call it. Raise ** an error if there is no '__call' metafield. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

luaD_pretailcallFunction · 0.85
luaD_precallFunction · 0.85

Calls 2

luaT_gettmbyobjFunction · 0.85
luaG_callerrorFunction · 0.85

Tested by

no test coverage detected