aboutsummaryrefslogtreecommitdiffstats
path: root/mobile/interface.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-12-08 20:09:26 +0800
committerFelix Lange <fjl@twurst.com>2016-12-08 20:09:26 +0800
commit0fe35b907addf1c066cb4d7c717bb23f9f2e7be4 (patch)
treece23037c4256b7c1ec4561d7477c33b328aa81e8 /mobile/interface.go
parent3fc7c978277051391f8ea7831559e9f4f83c3166 (diff)
downloadgo-tangerine-0fe35b907addf1c066cb4d7c717bb23f9f2e7be4.tar
go-tangerine-0fe35b907addf1c066cb4d7c717bb23f9f2e7be4.tar.gz
go-tangerine-0fe35b907addf1c066cb4d7c717bb23f9f2e7be4.tar.bz2
go-tangerine-0fe35b907addf1c066cb4d7c717bb23f9f2e7be4.tar.lz
go-tangerine-0fe35b907addf1c066cb4d7c717bb23f9f2e7be4.tar.xz
go-tangerine-0fe35b907addf1c066cb4d7c717bb23f9f2e7be4.tar.zst
go-tangerine-0fe35b907addf1c066cb4d7c717bb23f9f2e7be4.zip
mobile: iOS naming and API fixes for generators and Swift (#3408)
* build: modify the iOS namespace to iGeth (gomobile limitation) * mobile: assign names to return types for ObjC wrapper * mobile: use more expanded names for iOS/Swift API
Diffstat (limited to 'mobile/interface.go')
-rw-r--r--mobile/interface.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile/interface.go b/mobile/interface.go
index b585b8642..10eac5f72 100644
--- a/mobile/interface.go
+++ b/mobile/interface.go
@@ -131,7 +131,7 @@ func (i *Interfaces) Size() int {
}
// Get returns the bigint at the given index from the slice.
-func (i *Interfaces) Get(index int) (*Interface, error) {
+func (i *Interfaces) Get(index int) (iface *Interface, _ error) {
if index < 0 || index >= len(i.objects) {
return nil, errors.New("index out of bounds")
}