func proxyI_Times(out, in *seq.Buffer) { ref := in.ReadRef() v := ref.Get().(testpkg.I) param_v := in.ReadInt32() res := v.Times(param_v) out.WriteInt64(res) }
func proxy_RegisterI(out, in *seq.Buffer) { param_idx := in.ReadInt32() var param_i testpkg.I param_i_ref := in.ReadRef() if param_i_ref.Num < 0 { // go object param_i = param_i_ref.Get().(testpkg.I) } else { // foreign object param_i = (*proxyI)(param_i_ref) } testpkg.RegisterI(param_idx, param_i) }
func proxy_UnregisterI(out, in *seq.Buffer) { param_idx := in.ReadInt32() testpkg.UnregisterI(param_idx) }
func proxy_Multiply(out, in *seq.Buffer) { param_idx := in.ReadInt32() param_val := in.ReadInt32() res := testpkg.Multiply(param_idx, param_val) out.WriteInt64(res) }
func proxy_Int(out, in *seq.Buffer) { param_x := in.ReadInt32() testpkg.Int(param_x) }