1
0
Fork 0
forked from wry/wry

build: move fontconfig constants out of src

This commit is contained in:
kossLAN 2026-05-29 11:33:08 -04:00
parent f5bcfaf73c
commit 854e0474be
No known key found for this signature in database
2 changed files with 1 additions and 1 deletions

View file

@ -24,7 +24,7 @@ macro_rules! cenum {
}
}
#[path = "../src/fontconfig/consts.rs"]
#[path = "fontconfig_consts.rs"]
mod fontconfig;
fn get_target() -> repc::Target {

View file

@ -0,0 +1,20 @@
#![allow(dead_code)]
cenum! {
_FcMatchKind, FC_MATCH_KINDS;
FC_MATCH_PATTERN = 0,
FC_MATCH_FONT = 1,
FC_MATCH_SCAN = 2,
FC_MATCH_KIND_END = 3,
}
cenum! {
_FcResult, FC_RESULTS;
FC_RESULT_MATCH = 0,
FC_RESULT_NO_MATCH = 1,
FC_RESULT_TYPE_MISMATCH = 2,
FC_RESULT_NO_ID = 3,
FC_RESULT_OUT_OF_MEMORY = 4,
}