[glib/wip/swilmet/improve-doc: 2/2] Add GI annotation for g_get_charset()



commit b672ad195e0ed4e105476b4bcd4c3c06ab242a07
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Oct 5 15:12:25 2014 +0200

    Add GI annotation for g_get_charset()
    
    Sometimes it's useful to just get the return value, to know whether the
    charset is UTF-8.

 glib/gcharset.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/glib/gcharset.c b/glib/gcharset.c
index b1cc465..0a4b0da 100644
--- a/glib/gcharset.c
+++ b/glib/gcharset.c
@@ -152,7 +152,8 @@ charset_cache_free (gpointer data)
 
 /**
  * g_get_charset:
- * @charset: return location for character set name
+ * @charset: (out) (optional) (transfer none): return location for character set
+ *   name, or %NULL.
  *
  * Obtains the character set for the [current locale][setlocale]; you
  * might use this character set as an argument to g_convert(), to convert


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]