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
@ -78,7 +78,7 @@ func (bi *BigInts) Size() int {
|
||||
}
|
||||
|
||||
// Get returns the bigint at the given index from the slice.
|
||||
func (bi *BigInts) Get(index int) (*BigInt, error) {
|
||||
func (bi *BigInts) Get(index int) (bigint *BigInt, _ error) {
|
||||
if index < 0 || index >= len(bi.bigints) {
|
||||
return nil, errors.New("index out of bounds")
|
||||
}
|
||||
|
Reference in New Issue
Block a user