diff options
-rw-r--r-- | ffi-macros/src/lib.rs | 2 | ||||
-rw-r--r-- | openpgp-ffi/src/parse/stream.rs | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/openpgp-ffi/src/parse/stream.rs b/openpgp-ffi/src/parse/stream.rs index 8dcaf101..5b8ed62b 100644 --- a/openpgp-ffi/src/parse/stream.rs +++ b/openpgp-ffi/src/parse/stream.rs @@ -56,7 +56,7 @@ use super::super::{ pub struct MessageStructure<'a>(stream::MessageStructure<'a>); /// Iterates over the message structure. -#[::sequoia_ffi_macros::extern_fn] #[no_mangle] pub extern "system" +#[::sequoia_ffi_macros::extern_fn] #[no_mangle] pub extern "C" fn pgp_message_structure_iter(structure: *const MessageStructure) -> *mut MessageStructureIter { structure.ref_raw().iter().move_into_raw() |