castFromPointer static method
ObjCBlock<Void Function(Int32, Uint64, Pointer<__IOSurface> , Pointer<CGDisplayStreamUpdate> )>
castFromPointer(})
Returns a block that wraps the given raw block pointer.
Implementation
static objc.ObjCBlock<
ffi.Void Function(
ffi.Int32,
ffi.Uint64,
ffi.Pointer<__IOSurface>,
ffi.Pointer<CGDisplayStreamUpdate>,
)
>
castFromPointer(
ffi.Pointer<objc.ObjCBlockImpl> pointer, {
bool retain = false,
bool release = false,
}) =>
objc.ObjCBlock<
ffi.Void Function(
ffi.Int32,
ffi.Uint64,
ffi.Pointer<__IOSurface>,
ffi.Pointer<CGDisplayStreamUpdate>,
)
>(pointer, retain: retain, release: release);