diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-12-08 20:09:26 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-12-08 20:09:26 +0800 |
commit | 0fe35b907addf1c066cb4d7c717bb23f9f2e7be4 (patch) | |
tree | ce23037c4256b7c1ec4561d7477c33b328aa81e8 /mobile/vm.go | |
parent | 3fc7c978277051391f8ea7831559e9f4f83c3166 (diff) | |
download | dexon-0fe35b907addf1c066cb4d7c717bb23f9f2e7be4.tar.gz dexon-0fe35b907addf1c066cb4d7c717bb23f9f2e7be4.tar.zst dexon-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/vm.go')
-rw-r--r-- | mobile/vm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile/vm.go b/mobile/vm.go index a68917ca6..cb098d390 100644 --- a/mobile/vm.go +++ b/mobile/vm.go @@ -48,7 +48,7 @@ func (l *Logs) Size() int { } // Get returns the log at the given index from the slice. -func (l *Logs) Get(index int) (*Log, error) { +func (l *Logs) Get(index int) (log *Log, _ error) { if index < 0 || index >= len(l.logs) { return nil, errors.New("index out of bounds") } |