locale-util: export emoji_enable() for other code to use
This commit is contained in:
@@ -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_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user