mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[fontations] Clippy
This commit is contained in:
parent
547027837e
commit
34a919b980
1 changed files with 3 additions and 1 deletions
|
@ -751,7 +751,9 @@ fn _hb_fontations_font_funcs_get() -> *mut hb_font_funcs_t {
|
|||
}
|
||||
}
|
||||
|
||||
// A helper to attach these funcs to a hb_font_t
|
||||
/// # Safety
|
||||
///
|
||||
/// This function is unsafe because it connects with the HarfBuzz API.
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn hb_fontations_font_set_funcs(font: *mut hb_font_t) {
|
||||
let ffuncs = _hb_fontations_font_funcs_get();
|
||||
|
|
Loading…
Add table
Reference in a new issue