CName

Native
1.3
@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.

Constructors

Native
1.3

<init>

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

CName(externName: String = "", shortName: String = "")

Properties

Native
1.3

externName

val externName: String
Native
1.3

shortName

val shortName: String