summaryrefslogtreecommitdiff
path: root/bindgen/codegen/mod.rs
diff options
context:
space:
mode:
authorJustin W Smith <103147162+justsmth@users.noreply.github.com>2022-11-28 13:16:10 -0500
committerGitHub <noreply@github.com>2022-11-28 13:16:10 -0500
commit199dfcc8e598ba834f7a7210a6ce004e99499d4f (patch)
tree31552506c986ea6a36e8f55b848d76789ff33b99 /bindgen/codegen/mod.rs
parent690feb398bb5d56eeb928124291663c71f8af054 (diff)
Extend `generated_name_override` callback to variables (#2351)
* This change updates `ParseCallbacks::generated_name_override` to accept a second parameter indicating the kind of item the name applies to (currently, either `Function` or `Var`). * A `CallbackItemKind` enum was added to serve as the type for this second parameter. * Tests have been updated to verify that the names of both function and variable can be updated by this callback.
Diffstat (limited to 'bindgen/codegen/mod.rs')
0 files changed, 0 insertions, 0 deletions