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–2020 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/-stable-ref/from-value.html