How it Works
CBindingKMP acts as the intelligent glue between your C code and Kotlin libraries. It interprets your function signatures and generates high-performance wrappers tailored for each target platform.
- 1 Write your C function in a standard header.
- 2 Let the Gradle task generate JNI and Kotlin bindings.
- 3 Call the function directly from your shared Kotlin code.