summaryrefslogtreecommitdiff
path: root/bindgen/callbacks.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen/callbacks.rs')
-rw-r--r--bindgen/callbacks.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/bindgen/callbacks.rs b/bindgen/callbacks.rs
index 1e48a302..cba406cb 100644
--- a/bindgen/callbacks.rs
+++ b/bindgen/callbacks.rs
@@ -32,7 +32,10 @@ pub trait ParseCallbacks: fmt::Debug {
/// This function will run for every extern variable and function. The returned value determines
/// the name visible in the bindings.
- fn generated_name_override(&self, _item_info: ItemInfo) -> Option<String> {
+ fn generated_name_override(
+ &self,
+ _item_info: ItemInfo<'_>,
+ ) -> Option<String> {
None
}