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

Developer

API Reference

LUA_GETNAMEDMETATABLE

Brew Release
Brew MP 1.0.2
See Also
ILua_REGISTRYINDEX, ILua_SetMetaTable()
Description
Pushes onto the stack the metatable associated with the given name in the registry.
Params
pif
[]:
a pointer to the ILua object
pName
[]:
the name of the metatable as stored in the Lua registry
Prototype
  •    AEEResult Lua_GetNamedMetaTable(ILua *pif, const char *pName)
    
Return
  • AEE_SUCCESS: if the metatable was found and was pushed on the stack, otherwise an error code.