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