summaryrefslogtreecommitdiffstats
path: root/ffi-macros/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ffi-macros/src/lib.rs')
-rw-r--r--ffi-macros/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi-macros/src/lib.rs b/ffi-macros/src/lib.rs
index 3620549d..e28c0c85 100644
--- a/ffi-macros/src/lib.rs
+++ b/ffi-macros/src/lib.rs
@@ -927,7 +927,7 @@ fn derive_iterator(span: proc_macro2::Span, prefix: &str, name: &str,
quote! {
/// Gets the next item from the iterator.
- #[::sequoia_ffi_macros::extern_fn] #[no_mangle] pub extern "system"
+ #[::sequoia_ffi_macros::extern_fn] #[no_mangle] pub extern "C"
fn #ident #generics (this: *mut #wrapper #generics)
-> Option<::std::ptr::NonNull<#item_type>> {
use ::RefMutRaw;