Call C++ code from Kotlin Native using a C bridge code
This article explains how to call C++ code from Kotlin Native using a C Bridge
The purpose of C Bridge is to overcome the short comings of Kotlin Native which does not support C++ interop
Therefore we create a C library and call the C++ codes in that code and then the C code is linked to Kotlin Native code
Important Note: this is not JNI, this is Kotlin Native which directly becomes an EXE file
C++ code which std::string