aboutsummaryrefslogtreecommitdiffstats
path: root/test/ccured_olden/newbisort/node.h
blob: c1b81c6da8b86ca154b5c1c7d41d8fa4e44651c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* For copyright information, see olden_v1.0/COPYRIGHT */

/* =============== NODE STRUCTURE =================== */

struct node { 
  int value;
  struct node *left;
  struct node *right;
  };

typedef struct node HANDLE;

#define NIL ((HANDLE *) 0)
#ifdef FUTURES
#define makenode(procid) ALLOC(procid,sizeof(struct node))
#else
#define makenode(procid) mymalloc(sizeof(struct node))
#endif