CName

@Target(allowedTargets = [AnnotationTarget.FUNCTION])
actual annotation class CName(val externName: String = "", val shortName: String = "")(source)

Makes top level function available from C/C++ code with the given name.

externName controls the name of top level function, shortName controls the short name. If externName is empty, no top level declaration is being created.

Since Kotlin

1.3

Properties

Link copied to clipboard
actual val externName: String
Since Kotlin 1.3
Link copied to clipboard
actual val shortName: String
Since Kotlin 1.3