Developer

API Reference

ILuaDebug_GetInfo()

Brew Release
Brew MP 1.0.2
See Also
AEELuaDebugInfoType, ILuaDebug_GetInfoName(), ILuaDebug_GetInfoNameWhat(), ILuaDebug_GetInfoWhat(), ILuaDebug_GetInfoSource(), ILuaDebug_GetInfoCurrentLine(), ILuaDebug_GetInfoNumUpvalues(), ILuaDebug_GetInfoLineDefined(), ILuaDebug_GetInfoLastLineDefined(), ILuaDebug_GetCurrentFunction(), ILuaDebug_GetValidLines()
Description
Returns information about a specific function or a function invocation.
Parameters
  • pif
    []:
    a pointer to the ILuaDebug interface
  • nInfoType
    []:
    specifies the type of information to retrieve
  • 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.
  • ppData
    []:
    output pointer set to the retrieved information
Interface
Prototype
   int ILuaDebug_GetInfo(ILuaDebug *pif, AEELuaDebugInfoType nInfoType,
                         boolean bIsFunction, void **ppData)
Return
AEE_SUCCESS if the call was successful, otherwise AEE_EFAILED.
  • Follow