Michael Bryant
05/02/2019, 9:28 PMAny
struct to a primitive type? For example, if I know a particular instance of Any
contains an int, how can i get it out of the Any
struct? I tried int l = *(int *) kotlin_any.pinned;
, which doesn’t appear to workolonho
05/03/2019, 8:52 AMMichael Bryant
05/03/2019, 2:43 PMgetIntFromList
, getFloatFromList
, getStringFromList
, etcolonho
05/03/2019, 4:41 PMgetElement
returning Any
and create convertors anyToXXX