Branch: Tag:

2008-06-29

2008-06-29 12:07:04 by Martin Nilsson <mani@lysator.liu.se>

Avoid 'new' in header files to please C++.

Rev: src/backend.h:1.41
Rev: src/gc.h:1.134
Rev: src/rbtree.h:1.11
Rev: src/rbtree_low.h:1.9

2:   || 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.10 2003/04/02 19:22:44 mast Exp $ + || $Id: rbtree.h,v 1.11 2008/06/29 12:07:04 nilsson Exp $   */      /* An implementation of a threaded red/black balanced binary tree.
154:      struct rb_node_hdr *rb_insert (struct rb_node_hdr **root,    rb_find_fn *find_fn, void *key, -  struct rb_node_hdr *new); +  struct rb_node_hdr *new_node);   void rb_add (struct rb_node_hdr **root,    rb_find_fn *find_fn, void *key, -  struct rb_node_hdr *new); +  struct rb_node_hdr *new_node);   void rb_add_after (struct rb_node_hdr **root,    rb_find_fn *find_fn, void *key, -  struct rb_node_hdr *new, +  struct rb_node_hdr *new_node,    struct rb_node_hdr *existing);   struct rb_node_hdr *rb_remove (struct rb_node_hdr **root,    rb_find_fn *find_fn, void *key);