Has anyone managed to use a single source set of C-bindings for both JVM and native in their multiplatform project yet? I’m trying really hard to avoid maintaining two sets of bindings and was wondering what other folks are doing here.
I found this interesting solution that exposes kotlin/native sources to JVM via JNI:
https://jonnyzzz.com/blog/2019/12/15/jni-kotlin/. Not very ideal though.