Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions pkgs/ffigen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
- __Breaking change__: Code-gen the ObjC `id` type to `ObjCObjectBase` rather
than `NSObject`, since not all ObjC classes inherit from `NSObject`. Eg
`NSProxy`.
- __Breaking change__: Enums are now generated as real Dart enums, instead of
abstract classes. Since Dart enums cannot be empty, empty native enums are
generated as empty sealed classes. Native enum members with duplicate integer
values are handled properly, and are equal to each other in Dart as well.
- __Breaking change__: Native enums are now generated as real Dart enums, instead
of abstract classes with integer constants. Native enum members with the same
integer values are handled properly on the Dart side, and native functions
that use enums in their signatures now accept the generated enums on the Dart
side, instead of integer values.
- Rename ObjC interface methods that clash with type names. Fixes
https://github.com/dart-lang/native/issues/1007.
- __Breaking change__: Enum integer types are implementation-defined and not
Expand Down
Loading