aboutsummaryrefslogtreecommitdiffstats
path: root/test/ccured_olden/bisort/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/ccured_olden/bisort/node.h')
-rw-r--r--test/ccured_olden/bisort/node.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/ccured_olden/bisort/node.h b/test/ccured_olden/bisort/node.h
new file mode 100644
index 00000000..c1b81c6d
--- /dev/null
+++ b/test/ccured_olden/bisort/node.h
@@ -0,0 +1,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