[libgit2-glib] docs: add docs for ggit_convert_utf8



commit d8749d3d859ce5f60e61ba54b8405067e5ce3b4f
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Apr 1 11:53:54 2013 +0200

    docs: add docs for ggit_convert_utf8

 libgit2-glib/ggit-convert.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/libgit2-glib/ggit-convert.c b/libgit2-glib/ggit-convert.c
index 6201adc..216a02b 100644
--- a/libgit2-glib/ggit-convert.c
+++ b/libgit2-glib/ggit-convert.c
@@ -95,6 +95,16 @@ convert_and_check (const gchar  *str,
 
 }
 
+/**
+ * ggit_convert_utf8:
+ * @str: (array length=size): string to convert to utf-8.
+ * @size: the size of @str.
+ * @from_charset: the charset @str is currently in.
+ *
+ * Converts @str from the charset @from_charset to utf-8.
+ *
+ * Returns: the utf-8 representation of @str.
+ */
 gchar *
 ggit_convert_utf8 (const gchar *str,
                    gssize       size,


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