← Docs
kotlin-stdlib / kotlinx.cinterop / interpretNullablePointed

interpretNullablePointed

Native
1.3
fun < T : NativePointed > interpretNullablePointed (
ptr : NativePtr
) : T ?

(source)

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

Parameters

T - must not be abstract

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .