int luaL_getmetafield (lua_State *L, int obj, const char *e);
Pushes onto the stack the field e
from the metatable of the object at index obj
. If the object does not have a metatable, or if the metatable does not have this field, returns 0 and pushes nothing.