What exactly is the purpose of the external
keyword in Kotlin?
I guess it's for JNI like native
in Java, but I can't seem to find any actual reference or documentation on this.
What exactly is the purpose of the external
keyword in Kotlin?
I guess it's for JNI like native
in Java, but I can't seem to find any actual reference or documentation on this.
Indeed, it's an equivalent of Java's
native
. It's currently missing from the documentation but there's an issue to add it.