Interoperability with C | Kotlin Documentation
The interoperability tool analyses C headers and produces a "natural" mapping of the types, functions, and constants into the Kotlin world. The generated stubs can be imported into an IDE for the purpose of code completion and navigation. Interoperability with Swift/Objective-C is provided too and covered in Objective-C interop.