/* cr_declaration_nr_props: @a_this: the current instance of #CRDeclaration. Return the number of properties in the declaration  */
gint cr_declaration_nr_props(CRDeclaration *a_this)
/* cr_declaration_nr_props: @a_this: the current instance of #CRDeclaration. Return the number of properties in the declaration  */
gint cr_declaration_nr_props(CRDeclaration *a_this)
{
        CRDeclaration *cur = NULL;
        int nr = 0;
        g_return_val_if_fail (a_this, -1);
        for (cur = a_this; cur; cur = cur->next)
                nr++;
        return nr;
}