Could someone advice this newbee? I have this C*++* project I am trying to migrate to Kotlin (has dependencies too). I tried to write it all from scratch, but came to the conclusion that's not the right way, too much errors, to much to code before I can verify/test etc.
So I decided to compile Kotlin to a dynamic C-library and load it into C*++* (as described here
https://kotlinlang.org/docs/tutorials/native/dynamic-libraries.html). This works 👍 This way I can migrate one part of the C*++* project at the time.
Q: Problem is that I have to migrate ALL types that are being mentioned in the part of code I want to migrate, as see now way to reference the C*++* types from Kotlin. Is there a way to reference the C*++* types from within Kotlin and compile it to C?