kotlin-stdlib / kotlinx.cinterop / asStableRef asStableRef Native 1.3 fun <reified T : Any> CPointer<*>.asStableRef(): StableRef<T> Converts to StableRef this opaque pointer produced by StableRef.asCPointer.