Developer

API Reference

ILuaDebug_GetInfoWhat()

Brew Release
Brew MP 1.0.2
See Also
ILuaDebug_GetInfo(), ILuaDebug_GetInfoName(), ILuaDebug_GetInfoNameWhat()
Description
Returns a string describing the type of the given function.
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
   const char *ILuaDebug_GetInfoWhat(ILuaDebug *pif, boolean bIsFunction)
Return
"Lua" if the function is a Lua function, "C" if it is a C function, "main" if it is the main part of a chunk, and "tail" if it was a function that did a tail call.
  • Follow