diff --git a/crates/sys/fontconfig/src/bindings.rs b/crates/sys/fontconfig/src/bindings.rs index a231376c..2bd692ce 100644 --- a/crates/sys/fontconfig/src/bindings.rs +++ b/crates/sys/fontconfig/src/bindings.rs @@ -107,6 +107,7 @@ pub type FT_Face = *mut FT_FaceRec_; #[link(name = "fontconfig")] #[allow(dead_code)] +#[allow(non_camel_case_types)] extern "C" { pub type FcCharSet; pub type FcLangSet; @@ -631,6 +632,9 @@ extern "C" { enabled: *mut FcBool, ) -> FcBool; + /// + pub fn FcNameGetObjectType(object: *const ffi::c_char) -> FcObjectType; + // MISSING FUNCTIONS ///