aboutsummaryrefslogtreecommitdiffstats
path: root/mobile/interface.go
Commit message (Collapse)AuthorAgeFilesLines
* build: enable unconvert linter (#15456)ferhat elmas2017-11-111-1/+1
| | | | | | | | | * build: enable unconvert linter - fixes #15453 - update code base for failing cases * cmd/puppeth: replace syscall.Stdin with os.Stdin.Fd() for unconvert linter
* mobile: don't retain transient []byte in CallMsg.SetData (#14804)Elias Naur2017-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | * mobile: don't retain transient []byte in CallMsg.SetData Go mobile doesn't copy []byte parameters, for performance and to allow writes to the byte array be reflected in the native byte array. Unfortunately, that means []byte arguments are only valid during the call it is being passed into. CallMsg.SetData retains such a byte array. Copy it instead Fixes #14675 * mobile: copy all []byte arguments from gomobile To avoid subtle errors when accidentially retaining an otherwise transient byte slice coming from gomobile, copy all byte slices before use. * mobile: replace copySlice with common.CopyBytes
* mobile: iOS naming and API fixes for generators and Swift (#3408)Péter Szilágyi2016-12-081-1/+1
| | | | | * 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
* mobile: initial wrappers for mobile supportPéter Szilágyi2016-11-141-0/+148