Like Kotlin to JS export by using Kotlin/JS interop, is it possible to export Kotlin code as C Library using C interop ?

I am wondering wether it is possible to export Kotlin code as a C Lib since Kotlin have C interop

That is, we able to export Kotlin code to JS and also as a JVM JAR library, since Kotlin supports both JS and Java interop.

In the same way, is it possible to export as a C library, such as a header file with linkers, since Kotlin have C interop ?

submitted by /u/RageshAntony
[link] [comments]