luaobject.go
func NewLuaObjectFromName(L *lua.State, subfields ...interface{}) *LuaObject {
	L.GetGlobal("_G")
	defer L.Pop(1)
	err := get(L, subfields...)
	if err != nil {
		return nil
	}
	val := NewLuaObject(L, -1)
	L.Pop(1)
	return val
}
func NewLuaObjectFromName(L *lua.State, subfields ...interface{}) *LuaObject {
	L.GetGlobal("_G")
	defer L.Pop(1)
	err := get(L, subfields...)
	if err != nil {
		return nil
	}
	val := NewLuaObject(L, -1)
	L.Pop(1)
	return val
}
func NewLuaObjectFromName ( L * lua . State , subfields ... interface { } ) * LuaObject { L . GetGlobal ( " " ) defer L . Pop ( 1 ) err := get ( L , subfields ... ) if err != nil { return nil } val := NewLuaObject ( L , - 1 ) L . Pop ( 1 ) return val }
// NewLuaObjectFromName creates a new LuaObject from the object designated by
// the sequence of 'subfields'.
NewLuaObjectFromName creates a new LuaObject from the object designated by the sequence of subfields .