mirror of
https://github.com/systemd/systemd.git
synced 2025-02-21 05:57:34 +03:00
locale-util: export emoji_enable() for other code to use
This commit is contained in:
parent
48d70b4ac9
commit
539ee0989e
@ -305,7 +305,7 @@ out:
|
||||
return (bool) cached_answer;
|
||||
}
|
||||
|
||||
static bool emoji_enabled(void) {
|
||||
bool emoji_enabled(void) {
|
||||
static int cached_emoji_enabled = -1;
|
||||
|
||||
if (cached_emoji_enabled < 0) {
|
||||
|
@ -68,6 +68,8 @@ typedef enum {
|
||||
|
||||
const char *special_glyph(SpecialGlyph code) _const_;
|
||||
|
||||
bool emoji_enabled(void);
|
||||
|
||||
const char* locale_variable_to_string(LocaleVariable i) _const_;
|
||||
LocaleVariable locale_variable_from_string(const char *s) _pure_;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user