usePointer

inline fun <I : Any, O> StableRef<I>.usePointer(action: (COpaquePointer) -> O): O

Use a StableRef (as a CPointer), disposing of it afterwards

Return

return result from action

See also