I noticed that this example of cinterop declares an inline method in C. How does the interop work with inline methods? Is there some level of inlining that can be done at the bitcode level?
s
sergey.bogolepov
01/27/2023, 9:44 AM
Yep, bitcode allows cross-language inline. Besides cinterop, we use it for inlining between Kotlin/Native runtime (which is written in C++) and user’s code (which is written in Kotlin).