Branch: Tag:

2010-10-10

2010-10-10 21:56:20 by Martin Stjernholm <mast@lysator.liu.se>

Added rbstack_do_free, a function equivalent to RBSTACK_FREE.

88:    rbstack->ssp = 0;   }    + void rbstack_do_free (struct rbstack_ptr *rbstack_ptr) + { +  RBSTACK_FREE (*rbstack_ptr); + } +    /* Inserts the given node at *pos and advances *pos. *top is the top    * of the stack, which also is advanced to keep track of the top. */   void rbstack_insert (struct rbstack_ptr *top, struct rbstack_ptr *pos,