File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 156
156
## Changed
157
157
* Fixed name collisions when having a C ` enum ` and a ` typedef ` with the same
158
158
name.
159
+ * The ` ParseCallbacks::generated_name_override ` now receives ` ItemInfo<'_> ` as
160
+ argument instead of a ` &str ` .
159
161
160
162
## Removed
161
163
Original file line number Diff line number Diff line change @@ -32,7 +32,10 @@ pub trait ParseCallbacks: fmt::Debug {
32
32
33
33
/// This function will run for every extern variable and function. The returned value determines
34
34
/// the name visible in the bindings.
35
- fn generated_name_override ( & self , _item_info : ItemInfo ) -> Option < String > {
35
+ fn generated_name_override (
36
+ & self ,
37
+ _item_info : ItemInfo < ' _ > ,
38
+ ) -> Option < String > {
36
39
None
37
40
}
38
41
You can’t perform that action at this time.
0 commit comments