From: Martin Mares Date: Sat, 10 Jan 2004 13:46:43 +0000 (+0000) Subject: GLUE_ again. X-Git-Tag: holmes-import~1141 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=5fde39419d77b4d1c65ebafa3c8d6696d0e94426;p=libucw.git GLUE_ again. --- diff --git a/lib/redblack.h b/lib/redblack.h index aacd744d..2af759f1 100644 --- a/lib/redblack.h +++ b/lib/redblack.h @@ -940,13 +940,12 @@ static P(node) * P(first_node) (T *t, uns direction) #define TREE_FOR_ALL(t_px, t_ptr, t_var) \ do \ { \ - TREE_GLUE(t_px,node) *t_var = TREE_GLUE(t_px,first_node)(t_ptr, 0); \ - for (; t_var; t_var = TREE_GLUE(t_px,adjacent)(t_var, 1)) \ + GLUE_(t_px,node) *t_var = GLUE_(t_px,first_node)(t_ptr, 0); \ + for (; t_var; t_var = GLUE_(t_px,adjacent)(t_var, 1)) \ { #define TREE_END_FOR } } while(0) #define TREE_BREAK break #define TREE_CONTINUE continue -#define TREE_GLUE(x,y) x##_##y #endif #endif