summaryrefslogtreecommitdiff
path: root/bindgen/codegen/dyngen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen/codegen/dyngen.rs')
-rw-r--r--bindgen/codegen/dyngen.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/bindgen/codegen/dyngen.rs b/bindgen/codegen/dyngen.rs
index 26cfe5cc..d02c51e4 100644
--- a/bindgen/codegen/dyngen.rs
+++ b/bindgen/codegen/dyngen.rs
@@ -1,5 +1,5 @@
use crate::codegen;
-use crate::ir::function::Abi;
+use crate::ir::function::ClangAbi;
use proc_macro2::Ident;
/// Used to build the output tokens for dynamic bindings.
@@ -113,10 +113,10 @@ impl DynamicItems {
}
#[allow(clippy::too_many_arguments)]
- pub fn push(
+ pub(crate) fn push(
&mut self,
ident: Ident,
- abi: Abi,
+ abi: ClangAbi,
is_variadic: bool,
is_required: bool,
args: Vec<proc_macro2::TokenStream>,