W3cubDocs

/Kotlin

reinterpret

Platform and version requirements: Native (1.3)
fun <reified T : NativePointed> NativePointed.reinterpret(): T

Changes the interpretation of the pointed data or code.

Platform and version requirements: Native (1.3)
fun <T : CPointed> CPointer<*>.reinterpret(): CPointer<T>
fun <T : ObjCObject> ObjCObject.reinterpret(): T
Deprecated: Use plain Kotlin cast

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