diff --git a/src/font.rs b/src/font.rs index 1a04b1e..ea3b064 100644 --- a/src/font.rs +++ b/src/font.rs @@ -399,6 +399,8 @@ pub fn cascade_list_for_languages(font: &CTFont, language_pref_list: &CFArray) - } } +// TODO - Remove the warning override once this is solved in core-foundation +#[allow(improper_ctypes)] #[link(name = "ApplicationServices", kind = "framework")] extern { /* diff --git a/src/font_descriptor.rs b/src/font_descriptor.rs index e92fd1f..2064fad 100644 --- a/src/font_descriptor.rs +++ b/src/font_descriptor.rs @@ -312,6 +312,8 @@ pub fn debug_descriptor(desc: &CTFontDescriptor) { desc.show(); } +// TODO - Remove the warning override once this is solved in core-graphics +#[allow(improper_ctypes)] extern { /* * CTFontTraits.h