Beispiel #1
0
func (p *proxyI) VE() (int, error) {
	in := new(seq.Buffer)
	out := seq.Transact((*seq.Ref)(p), proxyIVECode, in)
	res_0 := out.ReadInt()
	res_1 := out.ReadError()
	return res_0, res_1
}
Beispiel #2
0
func (p *proxyI) Times(v int32) int64 {
	in := new(seq.Buffer)
	in.WriteInt32(v)
	out := seq.Transact((*seq.Ref)(p), "go.testpkg.I", proxyI_Times_Code, in)
	res_0 := out.ReadInt64()
	return res_0
}
Beispiel #3
0
func (p *proxyI) Error(triggerError bool) error {
	in := new(seq.Buffer)
	in.WriteBool(triggerError)
	out := seq.Transact((*seq.Ref)(p), "go.testpkg.I", proxyI_Error_Code, in)
	res_0 := out.ReadError()
	return res_0
}
Beispiel #4
0
func (p *proxyI) StringError(s string) (string, error) {
	in := new(seq.Buffer)
	in.WriteString(s)
	out := seq.Transact((*seq.Ref)(p), "go.testpkg.I", proxyI_StringError_Code, in)
	res_0 := out.ReadString()
	res_1 := out.ReadError()
	return res_0, res_1
}
Beispiel #5
0
func (p *proxyI) S() *testpkg.S {
	in := new(seq.Buffer)
	out := seq.Transact((*seq.Ref)(p), proxyISCode, in)
	// Must be a Go object
	res_0_ref := out.ReadRef()
	res_0 := res_0_ref.Get().(*testpkg.S)
	return res_0
}
Beispiel #6
0
func (p *proxyI) I() testpkg.I {
	in := new(seq.Buffer)
	out := seq.Transact((*seq.Ref)(p), proxyIICode, in)
	var res_0 testpkg.I
	res_0_ref := out.ReadRef()
	if res_0_ref.Num < 0 { // go object
		res_0 = res_0_ref.Get().(testpkg.I)
	} else { // foreign object
		res_0 = (*proxyI)(res_0_ref)
	}
	return res_0
}
Beispiel #7
0
func (p *proxyI) V() int {
	in := new(seq.Buffer)
	out := seq.Transact((*seq.Ref)(p), proxyIVCode, in)
	res_0 := out.ReadInt()
	return res_0
}
Beispiel #8
0
func (p *proxyI) String() string {
	in := new(seq.Buffer)
	out := seq.Transact((*seq.Ref)(p), proxyIStringCode, in)
	res_0 := out.ReadUTF16()
	return res_0
}
Beispiel #9
0
func (p *proxyI) F() {
	in := new(seq.Buffer)
	seq.Transact((*seq.Ref)(p), proxyIFCode, in)
}
Beispiel #10
0
func (p *proxyI) E() error {
	in := new(seq.Buffer)
	out := seq.Transact((*seq.Ref)(p), proxyIECode, in)
	res_0 := out.ReadError()
	return res_0
}
Beispiel #11
0
func (p *proxyI) F() {
	out := new(seq.Buffer)
	seq.Transact((*seq.Ref)(p), proxyIFCode, out)
}