diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-05-30 20:05:23 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-05-30 20:05:23 +0000 |
commit | e0b563603105e65890d0adc581d6c84cbf611ba9 (patch) | |
tree | 8ebacd67815b3b78f671a266bc0e8ced3f4e6612 /glib.h | |
parent | 466305d0ca11da051e6d1be823681fd54c831c08 (diff) |
Move the g_locale_get_codeset() up in the header file to correspond to to
Tue May 30 16:01:32 2000 Owen Taylor <otaylor@redhat.com>
* glib.h gutils.c: Move the g_locale_get_codeset() up in the
header file to correspond to to comments about memory
management. Rename to g_get_codeset() to avoid
polluting the g_locale_* namespace, which probably
would have g_locale_get_codeset (GLocale *locale).
Add a doc comment.
Diffstat (limited to 'glib.h')
-rw-r--r-- | glib.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1708,12 +1708,13 @@ gchar* g_path_skip_root (gchar *file_name); gchar* g_dirname (const gchar *file_name); gchar* g_get_current_dir (void); +/* Get the codeset for the current locale */ +gchar * g_get_codeset (void); + /* return the environment string for the variable. The returned memory * must not be freed. */ gchar* g_getenv (const gchar *variable); -gchar * g_locale_get_codeset (void); - /* we use a GLib function as a replacement for ATEXIT, so * the programmer is not required to check the return value * (if there is any in the implementation) and doesn't encounter |