Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Jan 3, 2024
1 parent 7a858de commit 2f96aaa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkgs/ffigen/example/ffinative/lib/generated_bindings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ external ffi.Pointer<ffi.Double> dividePrecision(
assetId: 'package:ffinative_example/generated_bindings.dart')
external int log_level;

@ffi.Array(5)
@ffi.Array.multi([5])
@ffi.Native<ffi.Array<ffi.Int>>(
assetId: 'package:ffinative_example/generated_bindings.dart')
external ffi.Array<ffi.Int> array;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6827,7 +6827,7 @@ class LibClang {
late final _clang_Type_visitFields =
_clang_Type_visitFieldsPtr.asFunction<DartClang_Type_visitFields>();

late final _SymbolAddresses addresses = _SymbolAddresses(this);
late final addresses = _SymbolAddresses(this);
}

class _SymbolAddresses {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Bindings1 {
late final __SymbolAddresses_1 =
__SymbolAddresses_1Ptr.asFunction<void Function()>();

late final _SymbolAddresses1 addresses = _SymbolAddresses1(this);
late final addresses = _SymbolAddresses1(this);
}

class _SymbolAddresses1 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class NativeLibrary {
ffi.Char Function(ffi.UnsignedChar, ffi.SignedChar)>>('diffChars');
late final _diffChars = _diffCharsPtr.asFunction<int Function(int, int)>();

late final _SymbolAddresses addresses = _SymbolAddresses(this);
late final addresses = _SymbolAddresses(this);
}

class _SymbolAddresses {
Expand Down

0 comments on commit 2f96aaa

Please sign in to comment.