You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After more investigation, this is because the method keywords are not there. CIImage has a better example of this.
There's not a ton of documentation around this (and I'm not an expert at objective-c syntax) but from what I can tell when the method keywords aren't there, you just use the internal name.
Also, in case you're curios these method declarations go against apple's guidelines for method declarations.
If you try to make bindgen work for all of the UIKit iOS Framework one of the issues that comes up is the reference to initWithControlPoints.
It seems that the
split_name
logic inrust-bindgen/src/ir/objc.rs
Line 215 in 899f599
self.name
here isinitWithControlPoints::::
, and the.filter(|p| !p.is_empty())
removes the empty parameters.Input C/C++ Header
Bindgen Invocation
Actual Results
Expected Results
To not panic?
From what I can tell it should produce:
The text was updated successfully, but these errors were encountered: