mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[fontations] Don't derive Copy et al since our types are not
This commit is contained in:
parent
74bd99e40e
commit
156b77327e
2 changed files with 4 additions and 2 deletions
|
@ -78,7 +78,6 @@ extern "C" fn _hb_fontations_get_glyph_h_advances(
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
fn _hb_fontations_font_funcs_create() -> *mut hb_font_funcs_t
|
||||
{
|
||||
static static_ffuncs: AtomicPtr<hb_font_funcs_t> = AtomicPtr::new(null_mut());
|
||||
|
|
|
@ -4,7 +4,10 @@ hb_rs = rust.bindgen(
|
|||
input : '../hb.h',
|
||||
output : 'hb.rs',
|
||||
include_directories: incsrc,
|
||||
args : ['--allowlist-function=hb_.*', '--allowlist-type=hb_.*'],
|
||||
args : ['--allowlist-function=hb_.*',
|
||||
'--allowlist-type=hb_.*',
|
||||
'--no-copy=hb_.*',
|
||||
],
|
||||
#args : ['--no-rustfmt-bindings'],
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue