[gi] Add annotations to g_quark functions
authorPavel Holejsovsky <pholejs@src.gnome.org>
Sun, 21 Aug 2011 15:12:18 +0000 (17:12 +0200)
committerPavel Holejsovsky <pholejs@src.gnome.org>
Sun, 21 Aug 2011 15:17:05 +0000 (17:17 +0200)
glib/gdataset.c

index 9a1e299..2bbb2b3 100644 (file)
@@ -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().