Results 222 comments of Liam Appelbe

We're now parsing those API version annotations (#1403). So the only remaining issue is how do we get the OS version at runtime. Since a check like that is OS...

swift2objc is a separate tool from ffigen, so it's not directly related. ![image](https://github.com/user-attachments/assets/1b3325a7-f013-46a9-b9ad-f8b2cb4e4f10) I think if a Swift enum is simple enough that we can represent it as an ObjC/C...

@orestesgaolin Yeah, if you want to try the example you can run `example/generate_code.dart` to regenerate the bindings (`avf_audio_bindings.dart` etc) and `example/play_audio.dart foo.mp3` to run the example.

https://github.com/dart-lang/native/pull/2585

~~It'd be nice if we can do #1358 first and then implement filtering as a transformer~~ My experience from ffigen is that using transformers for this is more trouble than...

> 1- Is there a way to speed up first run ? I wouldn't worry too much about that. I assume you're running these benchmarks in JIT mode? All Dart...

Oops, forgot to use a `UniqueNamer` for the function names. There's two `wrapListenerBlock_ObjCBlock_ffiVoid_NSArray`s. For the unknown type name error, I guess there's a missing import. You might be able to...

Method filtering is on the todo list: https://github.com/dart-lang/native/issues/251. I'll try to land it in the next version

> Oops, forgot to use a `UniqueNamer` for the function names. There's two `wrapListenerBlock_ObjCBlock_ffiVoid_NSArray`s. Actually it's a bit more complicated than this. The function *is* being unique named (automatically, after...

The `UniqueNamer` part of this issue was fixed in https://github.com/dart-lang/native/pull/1339. For the other part of the issue, I'll investigate automatically ignoring deprecated APIs (https://github.com/dart-lang/native/issues/1338), and also implement method filtering (https://github.com/dart-lang/native/issues/251)....