Question: Can Kotlin native generate C header files so that kotlin can be called as a library by C code?
08/10/2017, 7:54 AM
For that one has to map features of Kotlin to C, which is not generally possible. However, generate headers from specially marked top level functions may be possible.
08/10/2017, 9:18 PM
Possible but not currently implemented is what you are saying?
I work on some tools for FIRST that are written in C++ but expose JNI bindings and their own library. It would be kind of cool to write the whole thing in one language and expose the API in that language too.