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