Exemple #1
0
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)
}
Exemple #2
0
func proxy_Sum(out, in *seq.Buffer) {
	param_x := in.ReadInt64()
	param_y := in.ReadInt64()
	res := testpkg.Sum(param_x, param_y)
	out.WriteInt64(res)
}
Exemple #3
0
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)
}