pike.git
/
src
/
rbtree_low.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/rbtree_low.h:1:
/* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: rbtree_low.h,v 1.
5
2002
/
10
/
11
01
:
39
:
37
nilsson
Exp $
+
|| $Id: rbtree_low.h,v 1.
6
2004
/
05
/
28
09
:
42
:
44
mast
Exp $
*/ /* The lower level api for using rbtree. This is in a separate file * since it's quite macro heavy. * * Created 2001-04-27 by Martin Stjernholm */ #ifndef RBTREE_LOW_H #define RBTREE_LOW_H
pike.git/src/rbtree_low.h:134:
rb_track_depth += (rbstack).slice->maxdepth; \ if ((rbstack).slice->maxdepth > rb_max_depth) \ rb_max_depth = (rbstack).slice->maxdepth; \ (rbstack).slice->depth = (rbstack).slice->maxdepth = 0; \ ); \ } while (0) #define RBSTACK_FREE_SET_ROOT(rbstack, node) do { \ if ((rbstack).ssp) { \ if ((rbstack).slice->up) rbstack_free (&(rbstack)); \
+
(rbstack).ssp = 0; \
(node) = (rbstack).slice->stack[0]; \ } \ DO_IF_RB_STATS ( \ rb_num_tracks++; \ rb_track_depth += (rbstack).slice->maxdepth; \ if ((rbstack).slice->maxdepth > rb_max_depth) \ rb_max_depth = (rbstack).slice->maxdepth; \ (rbstack).slice->depth = (rbstack).slice->maxdepth = 0; \ ); \ } while (0)