@Target([AnnotationTarget.FUNCTION]) annotation class CName
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.
Makes top level function available from C/C++ code with the given name.
CName(externName: String = "", shortName: String = "")
val externName: String
val shortName: String
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native/-c-name/index.html