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