pike.git
/
src
/
rbtree.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/rbtree.h:84:
DO_IF_RB_STATS (rb_num_sidestep_ops++ COMMA) (node)->prev : \ rb_link_prev (node)) #define rb_next(node) \ (DO_IF_RB_STATS (rb_num_sidesteps++ COMMA) \ (node)->flags & RB_THREAD_NEXT ? \ DO_IF_RB_STATS (rb_num_sidestep_ops++ COMMA) (node)->next : \ rb_link_next (node)) #ifdef PIKE_DEBUG /* To get good type checking. */
-
static INLINE struct rb_node_hdr __
attribute__((unused))
*rb_node_check (struct rb_node_hdr *node)
+
static INLINE struct rb_node_hdr
PIKE
_
UNUSED
_
ATTRIBUTE
*rb_node_check (struct rb_node_hdr *node)
{return node;} #else #define rb_node_check(node) ((struct rb_node_hdr *) (node)) #endif typedef int rb_find_fn (void *key, struct rb_node_hdr *node); typedef int rb_cmp_fn (struct rb_node_hdr *a, struct rb_node_hdr *b, void *extra); typedef int rb_equal_fn (struct rb_node_hdr *a, struct rb_node_hdr *b, void *extra); typedef struct rb_node_hdr *rb_copy_fn (struct rb_node_hdr *node, void *extra); typedef void rb_free_fn (struct rb_node_hdr *node, void *extra);