libcroco r316 - trunk/src



Author: pjmoulder
Date: Sun Mar 30 07:06:30 2008
New Revision: 316
URL: http://svn.gnome.org/viewvc/libcroco?rev=316&view=rev

Log:
doc: Document cr_declaration_new ownership rules.

Modified:
   trunk/src/cr-declaration.c

Modified: trunk/src/cr-declaration.c
==============================================================================
--- trunk/src/cr-declaration.c	(original)
+++ trunk/src/cr-declaration.c	Sun Mar 30 07:06:30 2008
@@ -65,6 +65,10 @@
  *
  *Returns the newly built instance of #CRDeclaration, or NULL in
  *case of error.
+ *
+ *The returned CRDeclaration takes ownership of @a_property and @a_value.
+ *(E.g. cr_declaration_destroy on this CRDeclaration will also free
+ * a_property and @a_value.)
  */
 CRDeclaration *
 cr_declaration_new (CRStatement * a_statement,



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