lua_getfield
void lua_getfield (lua_State *L, int index, const char *k);
Pushes onto the stack the value t[k]
,
where t
is the value at the given valid index index
.
As in Lua, this function may trigger a metamethod
for the "index" event (see §2.8).