Example #1
0
func proxy_CallS(out, in *seq.Buffer) {
	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)
	}
	res := testpkg.CallS(param_i)
	out.WriteGoRef(res)
}
Example #2
0
func proxy_NewS(out, in *seq.Buffer) {
	param_x := in.ReadFloat64()
	param_y := in.ReadFloat64()
	res := testpkg.NewS(param_x, param_y)
	out.WriteGoRef(res)
}
Example #3
0
func proxy_NewNode(out, in *seq.Buffer) {
	param_name := in.ReadString()
	res := testpkg.NewNode(param_name)
	out.WriteGoRef(res)
}
Example #4
0
func proxy_NewI(out, in *seq.Buffer) {
	res := testpkg.NewI()
	out.WriteGoRef(res)
}
Example #5
0
func proxyIS(out, in *seq.Buffer) {
	ref := in.ReadRef()
	v := ref.Get().(testpkg.I)
	res := v.S()
	out.WriteGoRef(res)
}
Example #6
0
func var_getStructVar(out, in *seq.Buffer) {
	out.WriteGoRef(testpkg.StructVar)
}
Example #7
0
func var_getInterfaceVar(out, in *seq.Buffer) {
	out.WriteGoRef(testpkg.InterfaceVar)
}
Example #8
0
func proxyStructThatStartsWithLetterBeforeZ_Value_Get(out, in *seq.Buffer) {
	ref := in.ReadRef()
	v := ref.Get().(*testpkg.StructThatStartsWithLetterBeforeZ).Value
	out.WriteGoRef(v)
}