mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[fontations] Hide internal symbols
This commit is contained in:
parent
71accd5e14
commit
0113c86a2f
1 changed files with 0 additions and 3 deletions
|
@ -20,7 +20,6 @@ struct FontationsData {
|
|||
}
|
||||
|
||||
// A destructor for the user_data
|
||||
#[no_mangle]
|
||||
extern "C" fn _hb_fontations_data_destroy(ptr: *mut c_void) {
|
||||
if !ptr.is_null() {
|
||||
unsafe { let _ = Box::from_raw(ptr as *mut FontationsData); }
|
||||
|
@ -28,7 +27,6 @@ extern "C" fn _hb_fontations_data_destroy(ptr: *mut c_void) {
|
|||
}
|
||||
|
||||
// Our callback: get glyph horizontal advance
|
||||
#[no_mangle]
|
||||
extern "C" fn _hb_fontations_get_glyph_h_advance(
|
||||
_font: *mut hb_font_t,
|
||||
font_data: *mut c_void,
|
||||
|
@ -44,7 +42,6 @@ extern "C" fn _hb_fontations_get_glyph_h_advance(
|
|||
advance
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
fn _hb_fontations_font_funcs_create() -> *mut hb_font_funcs_t {
|
||||
let ffuncs = unsafe { hb_font_funcs_create() };
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue