CName

Common
Native
1.3
@ExperimentalNativeApi @Target([AnnotationTarget.FUNCTION]) annotation class CName
(Common source) (Native 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.

Constructors

Common
Native
1.0

<init>

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

<init>(externName: String = "", shortName: String = "")

Properties

Common
Native
1.0

externName

val externName: String
Common
Native
1.0

shortName

val shortName: String