CName

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

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

CName
Link copied to clipboard
fun CName(externName: String = "", shortName: String = "")

Properties

externName
Link copied to clipboard
val externName: String
shortName
Link copied to clipboard
val shortName: String