I know I should have JNI glue code for when target...
# multiplatform
a
I know I should have JNI glue code for when targeting Android, and KN/interop (which literally could't find any complete non-cryptic sample or prototype to inspire from)
j
I have an example of both JNI and cinterop binding in the Kotlin-Native-BigDecimal. It is used to embed BoringSSL (which is an OpenSSL fork). See https://github.com/kendy/Kotlin-Native-BigDecimal/tree/master/bignum ; it has some README too. The 'jni' subdir is for JNI, 'ios' subdir for cinterop. You also want to read the general README of the project and the build.gradle.kts for the cinterop bits here: https://github.com/kendy/Kotlin-Native-BigDecimal/blob/master/build.gradle.kts#L25