W3cubDocs

/Kotlin

fromValue

Platform and version requirements: Native (1.3)
fun fromValue(value: COpaquePointer): StableRef<Any>
Deprecated: Use CPointer<*>.asStableRef<T>() instead

Creates StableRef from given raw value.

Parameters

value - must be a value of some StableRef

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