Closed yanshouwang closed 7 months ago
This is working as intended. CGRect
is a struct, and you can't reliably return structs by value from ObjC methods on all platforms. The old signature was a bug. See https://github.com/dart-lang/native/issues/449
When use ffigen 9.0.0 to generate CoreImage bindings, the
bounds
property of CIFeature is generated like this:But after upgrade ffi to 10.0.0 or 11.0.0, the arguments:
bounds
property is changed to a method with a PointerIs this behavior correct?
Here is my ffigen.yaml file.