From 25c309102d81d62a1db439aae4fa7d45a155df6b Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Mon, 13 May 2019 10:54:12 +0200 Subject: openpgp-ffi: Use the C ABI, not the system ABI Reported-by: Thomas Muenz --- openpgp-ffi/src/parse/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openpgp-ffi') 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() -- cgit v1.2.3