W3cubDocs

/Kotlin

interpretNullablePointed

Platform and version requirements: Native (1.3)
fun <T : NativePointed> interpretNullablePointed(
    ptr: NativePtr
): T?

Performs type cast of the native pointer to given interop type, including null values.

Parameters

T - must not be abstract

© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.cinterop/interpret-nullable-pointed.html