Skip to content

Commit

Permalink
Use package:dart_style
Browse files Browse the repository at this point in the history
  • Loading branch information
liamappelbe committed Oct 23, 2024
1 parent fb39b6f commit 9e49390
Show file tree
Hide file tree
Showing 7 changed files with 120 additions and 115 deletions.
2 changes: 2 additions & 0 deletions pkgs/ffigen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## 15.1.0-wip

- Ensure all protocols referenced in bindings are available at runtime.
- Use `package:dart_style` directly to format generated Dart code, rather than
subprocessing to `dart format`.

## 15.0.0

Expand Down
82 changes: 41 additions & 41 deletions pkgs/ffigen/example/objective_c/avf_audio_bindings.dart

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions pkgs/ffigen/example/objective_c/avf_audio_bindings.dart.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,103 +9,103 @@
id objc_retainBlock(id);

typedef void (^_ListenerTrampoline)();
_ListenerTrampoline _wrapListenerBlock_ksby9f(_ListenerTrampoline block) NS_RETURNS_RETAINED {
_ListenerTrampoline _AVFAudio_wrapListenerBlock_ksby9f(_ListenerTrampoline block) NS_RETURNS_RETAINED {
return ^void() {
objc_retainBlock(block);
block();
};
}

typedef void (^_ListenerTrampoline1)(id arg0, id arg1, BOOL * arg2);
_ListenerTrampoline1 _wrapListenerBlock_1k41wmu(_ListenerTrampoline1 block) NS_RETURNS_RETAINED {
_ListenerTrampoline1 _AVFAudio_wrapListenerBlock_1k41wmu(_ListenerTrampoline1 block) NS_RETURNS_RETAINED {
return ^void(id arg0, id arg1, BOOL * arg2) {
objc_retainBlock(block);
block(objc_retain(arg0), objc_retain(arg1), arg2);
};
}

typedef void (^_ListenerTrampoline2)(void * arg0, id arg1);
_ListenerTrampoline2 _wrapListenerBlock_sjfpmz(_ListenerTrampoline2 block) NS_RETURNS_RETAINED {
_ListenerTrampoline2 _AVFAudio_wrapListenerBlock_sjfpmz(_ListenerTrampoline2 block) NS_RETURNS_RETAINED {
return ^void(void * arg0, id arg1) {
objc_retainBlock(block);
block(arg0, objc_retain(arg1));
};
}

typedef void (^_ListenerTrampoline3)(id arg0, struct _NSRange arg1, BOOL * arg2);
_ListenerTrampoline3 _wrapListenerBlock_1j7ar3u(_ListenerTrampoline3 block) NS_RETURNS_RETAINED {
_ListenerTrampoline3 _AVFAudio_wrapListenerBlock_1j7ar3u(_ListenerTrampoline3 block) NS_RETURNS_RETAINED {
return ^void(id arg0, struct _NSRange arg1, BOOL * arg2) {
objc_retainBlock(block);
block(objc_retain(arg0), arg1, arg2);
};
}

typedef void (^_ListenerTrampoline4)(id arg0, BOOL arg1, BOOL * arg2);
_ListenerTrampoline4 _wrapListenerBlock_rvgf02(_ListenerTrampoline4 block) NS_RETURNS_RETAINED {
_ListenerTrampoline4 _AVFAudio_wrapListenerBlock_rvgf02(_ListenerTrampoline4 block) NS_RETURNS_RETAINED {
return ^void(id arg0, BOOL arg1, BOOL * arg2) {
objc_retainBlock(block);
block(objc_retain(arg0), arg1, arg2);
};
}

typedef void (^_ListenerTrampoline5)(id arg0);
_ListenerTrampoline5 _wrapListenerBlock_ukcdfq(_ListenerTrampoline5 block) NS_RETURNS_RETAINED {
_ListenerTrampoline5 _AVFAudio_wrapListenerBlock_ukcdfq(_ListenerTrampoline5 block) NS_RETURNS_RETAINED {
return ^void(id arg0) {
objc_retainBlock(block);
block(objc_retain(arg0));
};
}

typedef void (^_ListenerTrampoline6)(id arg0, id arg1);
_ListenerTrampoline6 _wrapListenerBlock_1tjlcwl(_ListenerTrampoline6 block) NS_RETURNS_RETAINED {
_ListenerTrampoline6 _AVFAudio_wrapListenerBlock_1tjlcwl(_ListenerTrampoline6 block) NS_RETURNS_RETAINED {
return ^void(id arg0, id arg1) {
objc_retainBlock(block);
block(objc_retain(arg0), objc_retain(arg1));
};
}

typedef void (^_ListenerTrampoline7)(void * arg0);
_ListenerTrampoline7 _wrapListenerBlock_hepzs(_ListenerTrampoline7 block) NS_RETURNS_RETAINED {
_ListenerTrampoline7 _AVFAudio_wrapListenerBlock_hepzs(_ListenerTrampoline7 block) NS_RETURNS_RETAINED {
return ^void(void * arg0) {
objc_retainBlock(block);
block(arg0);
};
}

typedef void (^_ListenerTrampoline8)(BOOL arg0);
_ListenerTrampoline8 _wrapListenerBlock_117qins(_ListenerTrampoline8 block) NS_RETURNS_RETAINED {
_ListenerTrampoline8 _AVFAudio_wrapListenerBlock_117qins(_ListenerTrampoline8 block) NS_RETURNS_RETAINED {
return ^void(BOOL arg0) {
objc_retainBlock(block);
block(arg0);
};
}

typedef void (^_ListenerTrampoline9)(id arg0, NSMatchingFlags arg1, BOOL * arg2);
_ListenerTrampoline9 _wrapListenerBlock_9w6y6n(_ListenerTrampoline9 block) NS_RETURNS_RETAINED {
_ListenerTrampoline9 _AVFAudio_wrapListenerBlock_9w6y6n(_ListenerTrampoline9 block) NS_RETURNS_RETAINED {
return ^void(id arg0, NSMatchingFlags arg1, BOOL * arg2) {
objc_retainBlock(block);
block(objc_retain(arg0), arg1, arg2);
};
}

typedef void (^_ListenerTrampoline10)(id arg0, id arg1, id arg2);
_ListenerTrampoline10 _wrapListenerBlock_tenbla(_ListenerTrampoline10 block) NS_RETURNS_RETAINED {
_ListenerTrampoline10 _AVFAudio_wrapListenerBlock_tenbla(_ListenerTrampoline10 block) NS_RETURNS_RETAINED {
return ^void(id arg0, id arg1, id arg2) {
objc_retainBlock(block);
block(objc_retain(arg0), objc_retain(arg1), objc_retain(arg2));
};
}

typedef void (^_ListenerTrampoline11)(id arg0, BOOL arg1, id arg2);
_ListenerTrampoline11 _wrapListenerBlock_hfhq9m(_ListenerTrampoline11 block) NS_RETURNS_RETAINED {
_ListenerTrampoline11 _AVFAudio_wrapListenerBlock_hfhq9m(_ListenerTrampoline11 block) NS_RETURNS_RETAINED {
return ^void(id arg0, BOOL arg1, id arg2) {
objc_retainBlock(block);
block(objc_retain(arg0), arg1, objc_retain(arg2));
};
}

typedef void (^_ListenerTrampoline12)(BOOL arg0, id arg1);
_ListenerTrampoline12 _wrapListenerBlock_1ej8563(_ListenerTrampoline12 block) NS_RETURNS_RETAINED {
_ListenerTrampoline12 _AVFAudio_wrapListenerBlock_1ej8563(_ListenerTrampoline12 block) NS_RETURNS_RETAINED {
return ^void(BOOL arg0, id arg1) {
objc_retainBlock(block);
block(arg0, objc_retain(arg1));
Expand Down
Loading

0 comments on commit 9e49390

Please sign in to comment.