Skip to content

package:ffigen v10.0.0

Choose a tag to compare

@dcharkes dcharkes released this 15 Nov 16:12
· 1681 commits to main since this release
c64e9c8
  • 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.
  • Renamed asset to assetId for ffi-native.