asStablePointer

inline fun Any.asStablePointer(): COpaquePointer

Turns anything into a stable ref pointer