[gobject-introspection] [girparser] Annotate return transfer for public API



commit 68c68fec813a7fa8443fa2fb7da0eeda52bfcd8c
Author: Johan Dahlin <johan gnome org>
Date:   Sat Jun 12 11:31:06 2010 -0300

    [girparser] Annotate return transfer for public API

 girepository/girparser.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/girepository/girparser.c b/girepository/girparser.c
index 9823228..d0bd8aa 100644
--- a/girepository/girparser.c
+++ b/girepository/girparser.c
@@ -3375,7 +3375,7 @@ post_filter (GIrModule *module)
  * Parse a string that holds a complete GIR XML file, and return a list of a
  * a #GirModule for each &lt;namespace/&gt; element within the file.
  *
- * Returns: a newly allocated list of #GIrModule. The modules themselves
+ * Returns: (transfer container): a newly allocated list of #GIrModule. The modules themselves
  *  are owned by the #GIrParser and will be freed along with the parser.
  */
 GList *
@@ -3446,7 +3446,7 @@ g_ir_parser_parse_string (GIrParser           *parser,
  * Parse GIR XML file, and return a list of a a #GirModule for each
  * &lt;namespace/&gt; element within the file.
  *
- * Returns: a newly allocated list of #GIrModule. The modules themselves
+ * Returns: (transfer container): a newly allocated list of #GIrModule. The modules themselves
  *  are owned by the #GIrParser and will be freed along with the parser.
  */
 GList *



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