Commit d266362
committed
Allow for renaming struct/union fields
I've added a `ParseCallbacks` method called `field_name` which is given
the same `FieldInfo` struct that `field_visibility` takes.
I wasn't entirely sure where to change field names, I ended up doing it
in what was `deanonymize_fields` which has been renamed to
`assign_field_names` as suggested by [this
comment](#1058 (comment))
Related to #1097 and #10981 parent b7b501f commit d266362
File tree
6 files changed
+720
-7
lines changed- bindgen-tests/tests
- expectations/tests
- headers
- parse_callbacks
- bindgen
- ir
6 files changed
+720
-7
lines changed
0 commit comments