aboutsummaryrefslogtreecommitdiffstats
path: root/mobile/common.go
Commit message (Collapse)AuthorAgeFilesLines
* mobile: don't retain transient []byte in CallMsg.SetData (#14804)Elias Naur2017-07-171-2/+2
| | | | | | | | | | | | | | | | | | | | | * 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: Add management methods to {Addresses,Topics,Hashes} structuresNicolas Guillaume2017-05-231-0/+43
|
* mobile: iOS naming and API fixes for generators and Swift (#3408)Péter Szilágyi2016-12-081-10/+10
| | | | | * 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/+187