NativeHandleInvoke1<R, P extends NativeType> extension

Convenience extension to invoke a 1-argument C function taking Pointer<P> with a NativeHandle.

on

Methods

invoke(NativeHandle<P> handle) → R

Available on R Function(Pointer<P>), provided by the NativeHandleInvoke1 extension

Invokes this with the unwrapped pointer from handle.