Any compiler errors/warnings in source header files will now result in 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 config ignore-source-errors: true) must be passed to change this behaviour.
Breaking change: Stop generating setters for global variables marked const in C.
Fix objc_msgSend being used on arm64 platforms where it's not available.
Fix missing comma with ffi-native functions marked leaf.
Add support for finding libclang in Conda environment.
package:ffigen v10.0.0
Stable release targeting Dart 3.2 using new dart:ffi features available
in Dart 3.2 and later.
Add support for ObjC Blocks that can be invoked from any thread, using
NativeCallable.listener.
Fix invalid exceptional return value ObjCBlocks that return floats.
Fix return_of_invalid_type analysis error for ObjCBlocks.
Fix crash in ObjC methods and blocks that return structs by value.
Fix ObjC methods returning instancetype having the wrong type in sublasses.
When generating typedefs for Pointer<NativeFunction<Function>>, also
generate a typedef for the Function.
Use Dart wrapper types in args and returns of ObjCBlocks.
Use Dart wrapper types in args and returns of static functions.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps ffigen and melos. These dependencies needed to be updated together. Updates
ffigen
from 8.0.2 to 11.0.0Release notes
Sourced from ffigen's releases.
Commits
0605d9a
[ffigen] Release 11 Stable (#872)0ffdccc
[ffigen] Search dylib in conda env path (#869)985ddd0
Fix clang "sometimes-uninitialized" and "unused-variable" warnings (#865)8107f37
[native_toolchain_c] ExportenvironmentFromBatchFile
(#864)2b1fbf8
[ffigen] fix syntax for leaf ffiNative functions (#861)dbe57a1
[native_assets_cli] Add example usingdart_api_dl.h
(#858)a0949f5
Workflow cleanups (#846)4282d81
[native_assets_builder] Remove autopublishing workaround (#850)5aeab29
[native_assets_builder] Handle non-existing package names (#844)ec9e2b2
[native_assets_builder] Don't use FFIgen in test (#843)Updates
melos
from 3.4.0 to 4.1.0Changelog
Sourced from melos's changelog.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show