Ow nice, so using @ExportForCppRuntime annotation and providing a header with the function declaration it's enough to call this code on the C side right? Like you did on : @ExportForCppRuntime
fun ThrowClassCastException(): Nothing {
throw ClassCastException()
}
o
olonho
05/10/2017, 2:19 PM
yes, pretty much
olonho
05/10/2017, 2:20 PM
however, beware, this is an internal API at the moment, so may be changed without notice
j
josemeyer
05/10/2017, 2:29 PM
No problem @olonho, i was just wondering about how i would do this integration, but is just to make some test codes and use this feature. Thanks again i i'm look forward to next updates on Kotlin native 😬