Example #1
0
File: lua.go Project: szll/golua
// lua_getfenv
func (L *State) GetfEnv(index int) { C.lua_getfenv(L.s, C.int(index)) }
Example #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))
}