Skip to content

Commit

Permalink
fontconfig: fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwuelker committed Jul 29, 2024
1 parent e9dd216 commit 9c96557
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/sys/fontconfig/src/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -631,6 +632,9 @@ extern "C" {
enabled: *mut FcBool,
) -> FcBool;

/// <https://www.freedesktop.org/software/fontconfig/fontconfig-devel/fcnamegetobjecttype.html>
pub fn FcNameGetObjectType(object: *const ffi::c_char) -> FcObjectType;

// MISSING FUNCTIONS

/// <https://www.freedesktop.org/software/fontconfig/fontconfig-devel/fcstrsetcreate.html>
Expand Down

0 comments on commit 9c96557

Please sign in to comment.