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

Function luaD_precall

CPPScripts/External/Lua/ldo.c:565–594  ·  view source on GitHub ↗

** Prepares the call to a function (C or Lua). For C functions, also do ** the call. The function to be called is at '*func'. The arguments ** are on the stack, right after the function. Returns the CallInfo ** to be executed, if it was a Lua function. Otherwise (a C function) ** returns NULL, with all the results on the stack, starting at the ** original function position. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

luaV_executeFunction · 0.85
ccallFunction · 0.85

Calls 3

precallCFunction · 0.85
prepCallInfoFunction · 0.85
luaD_tryfuncTMFunction · 0.85

Tested by

no test coverage detected