Developer

API Reference

ILuaDebug_GetCurrentFunction()

Brew Release
Brew MP 1.0.2
See Also
ILuaDebug_GetInfo(), ILuaDebug_GetValidLines()
Description
Pushes on the Lua stack the function running at the current level.
Parameters
  • pif
    []:
    a pointer to the ILuaDebug interface
  • bIsFunction
    []:
    If TRUE, returns information about the function at the top of the stack. If FALSE, returns information about the current function invocation, and ILuaDebug_GetStack() should have been called just prior.
Interface
Prototype
   void ILuaDebug_GetCurrentFunction(ILuaDebug *pif, boolean bIsFunction)
  • Follow