Skip to content
Merged
Show file tree
Hide file tree
Changes from 20 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
2 changes: 1 addition & 1 deletion .github/workflows/objective_c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- uses: subosito/flutter-action@fd55f4c5af5b953cc57a2be44cb082c8f6635e8e
with:
channel: 'stable'
channel: 'beta'
- name: Install dependencies
run: flutter pub get
- name: Build test dylib
Expand Down
6 changes: 6 additions & 0 deletions pkgs/ffigen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
With this breaking change, also some defaults changed: (1) `@Native` bindings
are now the default, and (2) struct/unions refered to by pointer will be
generated as `Opaque` by default.
- __Breaking change__: Rename some ObjC interface built in methods. Rename
`isInstance` to `isA`, `castFrom` to `as`, and `castFromPointer` to
`fromPointer`.
- __Breaking change__: Change ObjC interfaces and protocols to generate as
[extension types](https://dart.dev/language/extension-types). This gives a
small performance boost, and in most cases won't require any code changes.
- __Breaking change__: Change how ObjC protocols are generated, splitting the
methods related to constructing instances into a separate `Foo$Builder` class.
The protocol's instance methods are now directly invokable from the built
Expand Down
Loading
Loading