chore(deps): update dependency ffigen to v12 #32
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:
8.0.2
->12.0.0
Release Notes
dart-lang/native (ffigen)
v12.0.0
ffi-native
option.ffi-native
option.retainAndReturnPointer
method to ObjC objects and blocks, and addcastFromPointer
method to blocks.-Wno-nullability-completeness
as default compiler option for MacOS.package:objective_c
in ObjC bindings.https://github.com/dart-lang/native/issues/1068ues/1068 is fixed).
NSString
have been moved intpupackage:objective_c
.lib
argument anymore. Infact, ffigen won't even generate the native library class (unless it needs
to bind top level functions without using
@Native
). It is still necessaryto
DynamicLibrary.open
the dylib though, to load the classes and methods.longer contains the native library class, it means it isn't needed
anymore. So
final lib = FooNativeLib(DynamicLibrary.open('foo.dylib'));
must be changed to
DynamicLibrary.open('foo.dylib');
.lib
parameter from all ObjC object constructors and static method callsand block constructors.
NSString
are being used,package:objective_c
must be imported, as they won't be exported by thegenerated bindings.
formatting step happens. Defaults to true.
destroyed. Fihttps://github.com/dart-lang/native/issues/204/204
structs/unions
->dependency-only
is set toopaque
.v11.0.0
Compare Source
bindings to not be generated by default, since it may result in invalid
bindings if the compiler makes a wrong guess. A flag
--ignore-source-errors
(or yaml configignore-source-errors: true
)must be passed to change this behaviour.
const
in C.ffi-native
functions markedleaf
.v10.0.0
Compare Source
dart:ffi
features availablein Dart 3.2 and later.
NativeCallable.listener.
Pointer<NativeFunction<Function>>
, alsogenerate a typedef for the
Function
.asset
toassetId
forffi-native
.v9.0.1
Compare Source
v9.0.0
Compare Source
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 has been generated by Mend Renovate. View repository job log here.