summaryrefslogtreecommitdiff
path: root/src/cr-declaration.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cr-declaration.c')
-rw-r--r--src/cr-declaration.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cr-declaration.c b/src/cr-declaration.c
index d1b99d0..6b413da 100644
--- a/src/cr-declaration.c
+++ b/src/cr-declaration.c
@@ -531,6 +531,21 @@ cr_declaration_dump (CRDeclaration *a_this, FILE *a_fp, glong a_indent,
}
/**
+ *Dumps the first declaration of the declaration list to a file.
+ *@param a_this the current instance of #CRDeclaration.
+ *@param a_fp the destination file.
+ *@param a_indent the number of indentation white char.
+ */
+void
+cr_declaration_dump_one (CRDeclaration *a_this,
+ FILE *a_fp, glong a_indent)
+{
+ g_return_if_fail (a_this) ;
+
+ dump (a_this, a_fp, a_indent) ;
+}
+
+/**
*Serializes the declaration into a string
*@param a_this the current instance of #CRDeclaration.
*@param a_indent the number of indentation white char