Michael Bryant
03/15/2019, 8:03 PMList type (and other types from the collections package) in dynamic libraries? the generated headers indicate that a <pkg>_kref_kotlin_collections_List type is being used, but I can’t find any docs on itDico
03/15/2019, 8:22 PMMichael Bryant
03/15/2019, 8:24 PMList, what would that look like? do I have to add boilerplate to my kotlin code to do so?Dico
03/15/2019, 8:24 PMDico
03/15/2019, 8:25 PMMichael Bryant
03/15/2019, 8:25 PMDico
03/15/2019, 8:26 PMr4zzz4k
03/15/2019, 8:31 PMr4zzz4k
03/15/2019, 8:32 PMMichael Bryant
03/15/2019, 8:34 PMList<Int>, i don’t know how (in C) to instantiate the list to pass it inMichael Bryant
03/15/2019, 8:34 PMfun make_int_list(): MutableList<Int> {
return mutableListOf<Int>();
}Michael Bryant
03/15/2019, 8:42 PMDico
03/15/2019, 8:43 PMStableRef as well.r4zzz4k
03/15/2019, 8:45 PMmake_int_list there. I'm curious, is mutableListOf represented somehow or not?Dico
03/15/2019, 8:45 PMDico
03/15/2019, 8:45 PMArrayList constructor and invoke it.r4zzz4k
03/15/2019, 8:50 PMMichael Bryant
03/15/2019, 8:57 PMMichael Bryant
03/15/2019, 8:58 PMmutableListOf, etcMichael Bryant
03/15/2019, 8:59 PMstruct definitions, so i can dispose of them using the normal pinned pointer refolonho
03/16/2019, 6:10 AM-Xexport-library may be helpful to add single helper .klib to multiple dynamic libs.