Do you have some sample for that case? In my case I call kotlin code from C. In my header file I got cinterop_CValues as returned type but I am not sure how can I use it.
o
olonho
08/08/2018, 2:37 PM
when calling Kotlin from C accessor methods getting element by index could be implemented. Generally we export to C only what programmer explicitly written, not stdlib operations
s
shusek
08/08/2018, 3:56 PM
So at this moment I can not return arrays from kotlin to C?
o
olonho
08/10/2018, 1:21 PM
you can return anything you want, but need to provide required accessors yourself, we will try to fix it in upcoming version of C interop