Upgrading ffigen 5 to 6
Breaking5.0.1 → 6.1.2Breaking1New2Changed2Fixed2
BreakingUpgrade verdict
1 breaking change.
In plain terms
- The option to control how booleans are generated is gone. Booleans now always use Dart's `bool` and C's `ffi.Bool`.
Must act 1 item needs code or config changes
What you must change
Breaking1
Removes the
dart-bool config; booleans are now always generated with bool and ffi.Bool as the Dart and C types respectively.dart-boolboolffi.BoolAPI changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- removed:
get Config.dartBool: bool - changed:
ctor Library({ required String name, String? description, required List<Binding> bindings, String? header, bool dartBool = …, bool sort = …, StructPackingOverride? packingOverride, Set<LibraryImport>? libraryImports, }) → ctor Library({ required String name, String? description, required List<Binding> bindings, String? header, bool sort = …, StructPackingOverride? packingOverride, Set<LibraryImport>? libraryImports, }) - added:
get Config.excludeAllByDefault: bool - added:
get Config.ffiNativeConfig: FfiNativeConfig - added:
get Config.objcModulePrefixer: ObjCModulePrefixer