Sam Schilling
09/16/2019, 3:52 PMlet a: MyType = ...
print(a) // MyType@c56528
print(Unmanaged.passUnretained(a).toOpaque()) // 0x0000000100c56500
The second print should print the address of a
, whereas the first would just be the default toString for Kotlin objects, I don’t know why the addresses are slightly offset though.olonho
09/16/2019, 3:56 PMSam Schilling
09/16/2019, 3:56 PMSam Schilling
09/16/2019, 3:57 PMolonho
09/16/2019, 4:10 PMSam Schilling
09/16/2019, 4:11 PM