mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-27 06:46:44 -04:00
features: +/-ucurl
This commit is contained in:
parent
b1fe241215
commit
f1f46edc7d
3 changed files with 15 additions and 4 deletions
5
client.c
5
client.c
|
|
@ -67,12 +67,13 @@ version_and_features(void)
|
||||||
{
|
{
|
||||||
static char buf[256];
|
static char buf[256];
|
||||||
snprintf(buf, sizeof(buf),
|
snprintf(buf, sizeof(buf),
|
||||||
"version: %s %cpgo %cime %cgraphemes %cassertions",
|
"version: %s %cpgo %cime %cgraphemes %cassertions %cucurl",
|
||||||
FOOT_VERSION,
|
FOOT_VERSION,
|
||||||
feature_pgo() ? '+' : '-',
|
feature_pgo() ? '+' : '-',
|
||||||
feature_ime() ? '+' : '-',
|
feature_ime() ? '+' : '-',
|
||||||
feature_graphemes() ? '+' : '-',
|
feature_graphemes() ? '+' : '-',
|
||||||
feature_assertions() ? '+' : '-');
|
feature_assertions() ? '+' : '-',
|
||||||
|
feature_ext_underline() ? '+' : '-');
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,3 +37,12 @@ static inline bool feature_graphemes(void)
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline bool feature_ext_underline(void)
|
||||||
|
{
|
||||||
|
#if FOOT_EXT_UNDERLINE
|
||||||
|
return true;
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
|
||||||
5
main.c
5
main.c
|
|
@ -53,12 +53,13 @@ version_and_features(void)
|
||||||
{
|
{
|
||||||
static char buf[256];
|
static char buf[256];
|
||||||
snprintf(buf, sizeof(buf),
|
snprintf(buf, sizeof(buf),
|
||||||
"version: %s %cpgo %cime %cgraphemes %cassertions",
|
"version: %s %cpgo %cime %cgraphemes %cassertions %cucurl",
|
||||||
FOOT_VERSION,
|
FOOT_VERSION,
|
||||||
feature_pgo() ? '+' : '-',
|
feature_pgo() ? '+' : '-',
|
||||||
feature_ime() ? '+' : '-',
|
feature_ime() ? '+' : '-',
|
||||||
feature_graphemes() ? '+' : '-',
|
feature_graphemes() ? '+' : '-',
|
||||||
feature_assertions() ? '+' : '-');
|
feature_assertions() ? '+' : '-',
|
||||||
|
feature_ext_underline() ? '+' : '-');
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue