func valueOfProxy(L *lua.State, idx int) (reflect.Value, reflect.Type) { vp := (*ValueProxy)(L.ToUserdata(idx)) return vp.value, vp.t }