pike.git / src / rbtree.h

version» Context lines:

pike.git/src/rbtree.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.h,v 1.9 2002/12/22 17:18:55 mast Exp $ + || $Id: rbtree.h,v 1.10 2003/04/02 19:22:44 mast Exp $   */      /* An implementation of a threaded red/black balanced binary tree.    *    * Created 2001-04-27 by Martin Stjernholm    */      #ifndef RBTREE_H   #define RBTREE_H   
pike.git/src/rbtree.h:61:    * \ . . /    * b . . b    * / \ . <- next prev -> . / \    * ... . thread pointer . ...    * \ . . /    * c . . c    * / \.. ../ \    */      #define keep_flags(node, code) do { \ -  INT16 kept_flags_ = (node)->flags; \ +  int kept_flags_ = (node)->flags; \    {code;} \    (node)->flags = \    ((node)->flags & ~RB_FLAG_MASK) | (kept_flags_ & RB_FLAG_MASK); \    } while (0)      PMOD_EXPORT struct rb_node_hdr *rb_first (struct rb_node_hdr *root);   PMOD_EXPORT struct rb_node_hdr *rb_last (struct rb_node_hdr *root);   PMOD_EXPORT struct rb_node_hdr *rb_link_prev (struct rb_node_hdr *node);   PMOD_EXPORT struct rb_node_hdr *rb_link_next (struct rb_node_hdr *node);