Hello ! i am wondering how to use multiplatform C ...
# multiplatform
s
Hello ! i am wondering how to use multiplatform C libraries in a kotlin multiplatform project. (the targets match exactly). i have never used JNI or anything of the sort in either java or kotlin and i'm really not sure how to go about it !.. (if that is even how one is supposed to go about it)
m
You’ll have to go through JNI on the JVM and cinterop on native and probably something else for JS. You can get some details in this KotlinConf talk
đź‘€ 2
s
thank you for the pointer !