CName
@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
<init>
Makes top level function available from C/C++ code with the given name.
<init>
(
externName
:
String
=
""
,
shortName
:
String
=
""
)
Properties
externName
val
externName
:
String
shortName
val
shortName
:
String