Exemple #1
0
// lua_getfenv
func (L *State) GetfEnv(index int) { C.lua_getfenv(L.s, C.int(index)) }
Exemple #2
0
// Pushes onto the stack the environment table of the value at the given
// index.
func (s *State) Getfenv(index int) {
	C.lua_getfenv(s.l, C.int(index))
}