mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02:00
Break _g_locale_charset() into two pieces - a fast "raw" piece, and a slow
Sat Dec 14 20:11:41 2002 Owen Taylor <otaylor@redhat.com> * glib/libcharset/{localcharset.[ch] libcharset-glib.patch} glib/gutf8.c: Break _g_locale_charset() into two pieces - a fast "raw" piece, and a slow "unalias pieces". Always call the "raw" piece, and call the unalias bit if it changes. Use a per-thread cache. (#79529)
This commit is contained in:
@@ -30,7 +30,8 @@ extern "C" {
|
||||
The result must not be freed; it is statically allocated.
|
||||
If the canonical name cannot be determined, the result is a non-canonical
|
||||
name. */
|
||||
extern const char * _g_locale_charset (void);
|
||||
extern const char * _g_locale_charset_raw (void);
|
||||
extern const char * _g_locale_charset_unalias (const char *codeset);
|
||||
extern const char * _g_locale_get_charset_aliases (void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user