mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-07 22:41:27 +00:00
[fontations] bindgen hb.rs
This commit is contained in:
parent
f9b4706151
commit
3ba4266daa
1 changed files with 10 additions and 0 deletions
|
@ -736,6 +736,16 @@ if get_option('fontations').enabled()
|
|||
subdirs: [meson.project_name()],
|
||||
version: meson.project_version(),
|
||||
)
|
||||
|
||||
rust = import('unstable-rust')
|
||||
|
||||
generated = rust.bindgen(
|
||||
input : 'hb.h',
|
||||
output : 'hb.rs',
|
||||
include_directories: incsrc,
|
||||
args : ['--allowlist-function=hb_.*', '--allowlist-type=hb_.*'],
|
||||
#args : ['--no-rustfmt-bindings'],
|
||||
)
|
||||
endif
|
||||
|
||||
if get_option('tests').enabled()
|
||||
|
|
Loading…
Add table
Reference in a new issue