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
This commit is contained in:
committed by
Felix Lange
parent
3fc7c97827
commit
0fe35b907a
@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user