Hi everyone. Who can help me? I cannot understand how I can create and use object and C language after kotlin native generate library for native platform.
I have a struct:
To work with objects that come from Kotlin, you should provide additional functions. In this particular case, you got to write some factory function, that will create an instance of your
Array
object. Then you’ll see it in the library, and use from the C code.
z
Zh Efimenko
06/17/2019, 3:04 PM
Are there already ready libraries for this? Is it obvious that kotlin types are needed for such libraries?
a
Artyom Degtyarev [JB]
06/17/2019, 3:30 PM
Currently, I don’t know about some pre-made libs to provide such functionality. But if you feel some inspiration to develop one - we will appreciate that.