chore(deps): update dependency ffigen to v14 #49
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^13.0.0
->^14.0.0
Release Notes
dart-lang/native (ffigen)
v14.0.0
void generate(Config config)
. MakeConfig
an implementatble interface,rather than needing to be parsed from yaml.
external-versions
config option. Setting the minimum targetversion will omit APIs from the generated bindings if they were deprecated
before this version.
correct Dart wrapper types, instead of the raw C-style pointers.
assetId
under ffi-native toasset-id
to follow dash-case.ObjCBlock<Ret Function(Args...)>
, instead of the codegennedObjCBlock_...
wrapper. The wrapper is now a non-constructible set of utilmethods for constructing
ObjCBlock
.Reference Counting), and must now be compiled with ARC enabled. For example,
if you had a line like
s.requires_arc = []
in your podspec, this shouldeither be removed, or you should add the ffigen generated ObjC code to the
list. If you're compiling directly with clang, add the
-fobjc-arc
flag.as Dart enum values as well. For example, with an enum
MyEnum
and a structwith a member
MyEnum enumMember
, two members are generated:enumMemberAsInt
which contains the original integer value, and
enumMember
, which is of typeMyEnum
. If you configure the enum to be generated as Dart integers, thisnew behavior will not apply, and the struct member will be an integer as well.
sealed
classes as opposed to
abstract
classes.being handlhttps://github.com/dart-lang/native/issues/14461446
member-rename
option to ObjC interface and protocolmethods and properties.
member-filter
option that filters ObjC interface and protocol methodsand properties.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.