UnsafeNumber

Platform and version requirements: Native (1.3)
@Target([AnnotationTarget.TYPEALIAS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY]) annotation class UnsafeNumber

Marker for declarations that depend on numeric types of different bit width on at least two platforms.

Parameters

actualPlatformTypes - : Contains platform types represented as {konanTarget}: {type fqn} e.g. linux_x64:kotlin.Int,linux_arm64:kotlin.Long

Constructors

Platform and version requirements: Native (1.3)

<init>

Marker for declarations that depend on numeric types of different bit width on at least two platforms.

UnsafeNumber(actualPlatformTypes: Array<String>)

Properties

Platform and version requirements: Native (1.3)

actualPlatformTypes

: Contains platform types represented as {konanTarget}: {type fqn} e.g. linux_x64:kotlin.Int,linux_arm64:kotlin.Long

val actualPlatformTypes: Array<String>

© 2010–2022 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.cinterop/-unsafe-number/index.html