API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ILUA_TYPENAME()

Brew Release
Brew MP 1.0.2
Description
Returns the name of the type of the value at the given acceptable index.
Params
pif
[]:
a pointer to the ILua object
nIndex
[]:
the stack index of the value
type
[]:
pointer to a buffer to hold the name of the value's type
typeLen
[]:
the length of the buffer, or NULL, if just querying for the required length
typeLenReq
[]:
a pointer to an integer that will be set on return to the number of bytes needed to hold the typename
Interface
Prototype
  •    AEEResult ILua_TypeName(ILua *pif, int nIndex, char *type,
                               int typeLen, int *typeLenReq)
    
Return
  • AEE_SUCCESS if the function succeeded, otherwise an error code.