[glib] [gi] Add annotations to g_quark functions



commit e7a9b3196becd11482abf854b250ef06d6904fe1
Author: Pavel Holejsovsky <pholejs src gnome org>
Date:   Sun Aug 21 17:12:18 2011 +0200

    [gi] Add annotations to g_quark functions

 glib/gdataset.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/glib/gdataset.c b/glib/gdataset.c
index 9a1e299..2bbb2b3 100644
--- a/glib/gdataset.c
+++ b/glib/gdataset.c
@@ -1103,7 +1103,7 @@ g_data_initialize (void)
 
 /**
  * g_quark_try_string:
- * @string: a string.
+ * @string: (allow-none): a string.
  * @Returns: the #GQuark associated with the string, or 0 if @string is
  *           %NULL or there is no #GQuark associated with it.
  *
@@ -1182,7 +1182,7 @@ g_quark_from_string_internal (const gchar *string,
 
 /**
  * g_quark_from_string:
- * @string: a string.
+ * @string: (allow-none): a string.
  * @Returns: the #GQuark identifying the string, or 0 if @string is
  *           %NULL.
  *
@@ -1207,7 +1207,7 @@ g_quark_from_string (const gchar *string)
 
 /**
  * g_quark_from_static_string:
- * @string: a string.
+ * @string: (allow-none): a string.
  * @Returns: the #GQuark identifying the string, or 0 if @string is
  *           %NULL.
  *
@@ -1298,7 +1298,7 @@ g_quark_new (gchar *string)
 
 /**
  * g_intern_string:
- * @string: a string
+ * @string: (allow-none): a string
  * 
  * Returns a canonical representation for @string. Interned strings can
  * be compared for equality by comparing the pointers, instead of using strcmp().
@@ -1326,7 +1326,7 @@ g_intern_string (const gchar *string)
 
 /**
  * g_intern_static_string:
- * @string: a static string
+ * @string: (allow-none): a static string
  * 
  * Returns a canonical representation for @string. Interned strings can
  * be compared for equality by comparing the pointers, instead of using strcmp().



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