Optimized duplicate detection and removal
This commit is contained in:
parent
ead9e8d666
commit
06e1a48480
7 changed files with 364 additions and 125 deletions
|
|
@ -909,6 +909,16 @@ xml_child_order(cxobj *xp,
|
|||
return -1;
|
||||
}
|
||||
|
||||
/*! Advanced function to decrement _x_vector_i if objects have been removed
|
||||
*/
|
||||
int
|
||||
xml_vector_decrement(cxobj *x,
|
||||
int nr)
|
||||
{
|
||||
x->_x_vector_i -= nr;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*! Iterator over xml children objects
|
||||
*
|
||||
* @param[in] xparent xml tree node whose children should be iterated
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue