Skip to content

Commit

Permalink
chore: more dart format issues, after upgrading dart to 3.1.3 and dar…
Browse files Browse the repository at this point in the history
…t format to 2.3.1
  • Loading branch information
maxxfrazer committed Oct 18, 2023
1 parent 470b296 commit 3e9f69e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Check Dart Format
run: |
# Check for differences in dart format
Expand Down
15 changes: 8 additions & 7 deletions lib/src/impl/platform/io/native_iris_api_engine_bindings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ class NativeIrisApiEngineBinding {
}

late final _FreeIrisVideoFrameBufferManagerPtr = _lookup<
ffi.NativeFunction<
ffi.Void Function(IrisVideoFrameBufferManagerPtr)>>(
ffi
.NativeFunction<ffi.Void Function(IrisVideoFrameBufferManagerPtr)>>(
'FreeIrisVideoFrameBufferManager');
late final _FreeIrisVideoFrameBufferManager =
_FreeIrisVideoFrameBufferManagerPtr.asFunction<
Expand Down Expand Up @@ -297,9 +297,9 @@ class NativeIrisApiEngineBinding {
}

late final _DisableAllVideoFrameBufferPtr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
IrisVideoFrameBufferManagerPtr)>>('DisableAllVideoFrameBuffer');
ffi
.NativeFunction<ffi.Void Function(IrisVideoFrameBufferManagerPtr)>>(
'DisableAllVideoFrameBuffer');
late final _DisableAllVideoFrameBuffer = _DisableAllVideoFrameBufferPtr
.asFunction<void Function(IrisVideoFrameBufferManagerPtr)>();

Expand Down Expand Up @@ -386,8 +386,9 @@ class NativeIrisApiEngineBinding {
}

late final _StopDumpVideoPtr = _lookup<
ffi.NativeFunction<
ffi.Int32 Function(IrisVideoFrameBufferManagerPtr)>>('StopDumpVideo');
ffi
.NativeFunction<ffi.Int32 Function(IrisVideoFrameBufferManagerPtr)>>(
'StopDumpVideo');
late final _StopDumpVideo = _StopDumpVideoPtr.asFunction<
int Function(IrisVideoFrameBufferManagerPtr)>();

Expand Down
6 changes: 3 additions & 3 deletions test_shard/iris_tester/lib/src/iris_tester_bindings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ class NativeIrisTesterBinding {
}

late final _MockApiReturnCodePtr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<ffi.Int8>, ffi.Int32)>>('MockApiReturnCode');
ffi
.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Int8>, ffi.Int32)>>(
'MockApiReturnCode');
late final _MockApiReturnCode = _MockApiReturnCodePtr.asFunction<
void Function(ffi.Pointer<ffi.Int8>, int)>();

Expand Down

0 comments on commit 3e9f69e

Please sign in to comment.