// AUTO GENERATED FILE, DO NOT EDIT. // // Generated by `package:ffigen`. // ignore_for_file: type=lint, unused_import import 'dart:ffi' as ffi; import 'package:objective_c/objective_c.dart' as objc; @ffi.Native>() external final ffi.Pointer<__CFAllocator> kCFAllocatorDefault; @ffi.Native)>() external void CFRelease(ffi.Pointer cf); @ffi.Native() external final CFDictionaryKeyCallBacks kCFTypeDictionaryKeyCallBacks; @ffi.Native() external final CFDictionaryValueCallBacks kCFTypeDictionaryValueCallBacks; @ffi.Native< CFDictionaryRef Function( ffi.Pointer<__CFAllocator>, ffi.Pointer>, ffi.Pointer>, ffi.Long, ffi.Pointer, ffi.Pointer, ) >() external CFDictionaryRef CFDictionaryCreate( ffi.Pointer<__CFAllocator> allocator, ffi.Pointer> keys, ffi.Pointer> values, int numValues, ffi.Pointer keyCallBacks, ffi.Pointer valueCallBacks, ); @ffi.Native< CFDataRef Function( ffi.Pointer<__CFAllocator>, ffi.Pointer, ffi.Long, ) >() external CFDataRef CFDataCreate( ffi.Pointer<__CFAllocator> allocator, ffi.Pointer bytes, int length, ); @ffi.Native, ffi.Long)>() external CFMutableDataRef CFDataCreateMutable( ffi.Pointer<__CFAllocator> allocator, int capacity, ); @ffi.Native() external int CFDataGetLength(CFDataRef theData); @ffi.Native Function(CFDataRef)>() external ffi.Pointer CFDataGetBytePtr(CFDataRef theData); @ffi.Native() external CGImageSourceRef CGImageSourceCreateWithData( CFDataRef data, CFDictionaryRef options, ); @ffi.Native() external CGImageRef CGImageSourceCreateImageAtIndex( CGImageSourceRef isrc, int index, CFDictionaryRef options, ); @ffi.Native>() external ffi.Pointer kCGImageDestinationLossyCompressionQuality; @ffi.Native< CGImageDestinationRef Function( CFMutableDataRef, ffi.Pointer, ffi.Size, CFDictionaryRef, ) >() external CGImageDestinationRef CGImageDestinationCreateWithData( CFMutableDataRef data, ffi.Pointer type, int count, CFDictionaryRef options, ); @ffi.Native< ffi.Void Function(CGImageDestinationRef, CGImageRef, CFDictionaryRef) >() external void CGImageDestinationAddImage( CGImageDestinationRef idst, CGImageRef image, CFDictionaryRef properties, ); @ffi.Native() external bool CGImageDestinationFinalize(CGImageDestinationRef idst); final class __CFAllocator extends ffi.Opaque {} final class CFDictionaryKeyCallBacks extends ffi.Struct { @ffi.Long() external int version; external ffi.Pointer< ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer<__CFAllocator> allocator, ffi.Pointer value, ) > > retain; external ffi.Pointer< ffi.NativeFunction< ffi.Void Function( ffi.Pointer<__CFAllocator> allocator, ffi.Pointer value, ) > > release; external ffi.Pointer< ffi.NativeFunction< ffi.Pointer Function(ffi.Pointer value) > > copyDescription; external ffi.Pointer< ffi.NativeFunction< ffi.UnsignedChar Function( ffi.Pointer value1, ffi.Pointer value2, ) > > equal; external ffi.Pointer< ffi.NativeFunction value)> > hash; } final class CFDictionaryValueCallBacks extends ffi.Struct { @ffi.Long() external int version; external ffi.Pointer< ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer<__CFAllocator> allocator, ffi.Pointer value, ) > > retain; external ffi.Pointer< ffi.NativeFunction< ffi.Void Function( ffi.Pointer<__CFAllocator> allocator, ffi.Pointer value, ) > > release; external ffi.Pointer< ffi.NativeFunction< ffi.Pointer Function(ffi.Pointer value) > > copyDescription; external ffi.Pointer< ffi.NativeFunction< ffi.UnsignedChar Function( ffi.Pointer value1, ffi.Pointer value2, ) > > equal; } final class __CFDictionary extends ffi.Opaque {} typedef CFDictionaryRef = ffi.Pointer<__CFDictionary>; final class __CFData extends ffi.Opaque {} typedef CFDataRef = ffi.Pointer<__CFData>; typedef CFMutableDataRef = ffi.Pointer<__CFData>; final class CGImageSource extends ffi.Opaque {} typedef CGImageSourceRef = ffi.Pointer; final class CGImage extends ffi.Opaque {} typedef CGImageRef = ffi.Pointer; final class CGImageDestination extends ffi.Opaque {} typedef CGImageDestinationRef = ffi.Pointer;