Logo Search packages:      
Sourcecode: inkscape version File versions

int cr_term_nr_values ( CRTerm a_this  ) 

Return the number of terms in the expression.

Parameters:
a_this the current instance of CRTerm.
Returns:
number of terms in the expression.

Definition at line 698 of file cr-term.c.

References _CRTerm::next.

{
      CRTerm *cur = NULL ;
      int nr = 0;

      g_return_val_if_fail (a_this, -1) ;

      for (cur = a_this ; cur ; cur = cur->next)
            nr ++;
      return nr;
}


Generated by  Doxygen 1.6.0   Back to index