pango: move bindings into workspace crate
This commit is contained in:
parent
ebaccd8762
commit
4562a34890
8 changed files with 554 additions and 429 deletions
|
|
@ -12,9 +12,6 @@ mod macros;
|
|||
#[path = "../src/libinput/consts.rs"]
|
||||
mod libinput;
|
||||
|
||||
#[path = "../src/pango/consts.rs"]
|
||||
mod pango;
|
||||
|
||||
#[path = "../src/fontconfig/consts.rs"]
|
||||
mod fontconfig;
|
||||
|
||||
|
|
@ -145,12 +142,6 @@ pub fn main() -> anyhow::Result<()> {
|
|||
"libinput_config_middle_emulation_state",
|
||||
)?;
|
||||
|
||||
let mut f = open("pango_tys.rs")?;
|
||||
write_ty(&mut f, pango::CAIRO_FORMATS, "cairo_format_t")?;
|
||||
write_ty(&mut f, pango::CAIRO_STATUSES, "cairo_status_t")?;
|
||||
write_ty(&mut f, pango::CAIRO_OPERATORS, "cairo_operator_t")?;
|
||||
write_ty(&mut f, pango::PANGO_ELLIPSIZE_MODES, "PangoEllipsizeMode_")?;
|
||||
|
||||
let mut f = open("fontconfig_tys.rs")?;
|
||||
write_ty(&mut f, fontconfig::FC_MATCH_KINDS, "FcMatchKind")?;
|
||||
write_ty(&mut f, fontconfig::FC_RESULTS, "FcResult")?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue