summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter J. R. Moulder <pjmoulder@src.gnome.org>2008-03-30 06:06:30 +0000
committerPeter J. R. Moulder <pjmoulder@src.gnome.org>2008-03-30 06:06:30 +0000
commit1864231ab6bdccbeb2e55144239359ff5580bf65 (patch)
treeac2b2f31b85151a30d4f283298d4238d9df2b169 /src
parent8b60be7f9ac274c014294c51f88da884a3b0c99f (diff)
downloadlibcroco-1864231ab6bdccbeb2e55144239359ff5580bf65.tar.gz
doc: Document cr_declaration_new ownership rules.
svn path=/trunk/; revision=316
Diffstat (limited to 'src')
-rw-r--r--src/cr-declaration.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cr-declaration.c b/src/cr-declaration.c
index dcb8998..13ac82a 100644
--- a/src/cr-declaration.c
+++ b/src/cr-declaration.c
@@ -65,6 +65,10 @@ dump (CRDeclaration const * a_this, FILE * a_fp, glong a_indent)
*
*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,