W3cubDocs

/Kotlin

SymbolName

Platform and version requirements: Native (1.3)
@Target([AnnotationTarget.FUNCTION]) annotation class SymbolName

Forces the compiler to use specified symbol name for the target external function.

TODO: changing symbol name breaks the binary compatibility, so it should probably be allowed on internal and private functions only.

Constructors

Platform and version requirements: Native (1.3)

<init>

Forces the compiler to use specified symbol name for the target external function.

SymbolName(name: String)

Properties

Platform and version requirements: Native (1.3)

name

val name: 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/-symbol-name/index.html