Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class WasmExport(val name: String = "")

Exports a function with the given optional name. The declaration name will be used if the name argument is not provided.

Since Kotlin 1.8
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class WasmExport(val name: String = "")

Exports a function with the given optional name. The declaration name will be used if the name argument is not provided.

Since Kotlin 1.8
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class WasmImport(val module: String, val name: String = "")

Imports a function from the given module with the given optional name. The declaration name will be used if the name argument is not provided.

Since Kotlin 1.8
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class WasmImport(val module: String, val name: String = "")

Imports a function from the given module with the given optional name. The declaration name will be used if the name argument is not provided.

Since Kotlin 1.8