diff src/parallel_execution/Tree.cbc @ 415:eec6553a2aa6

fix redblacktree
author mir3636
date Thu, 05 Oct 2017 17:00:48 +0900
parents 27bc962020de
children 1432d924c472
line wrap: on
line diff
--- a/src/parallel_execution/Tree.cbc	Fri Sep 15 22:49:45 2017 +0900
+++ b/src/parallel_execution/Tree.cbc	Thu Oct 05 17:00:48 2017 +0900
@@ -1,8 +1,8 @@
-typedef struct Tree<Impl{
-    union Data* tree;
-    struct Node* node;
-    __code putRedBlackTree(Impl* traverse, struct Node* node, struct Node* root, struct Node* newNode);
-    __code getRedBlackTree(Impl* traverse, __code next(...));
+typedef struct Tree<Type, Impl>{
+    Type* tree;
+    Type* node;
+    __code put(Impl* tree, Type* node, Type* root, Type* newNode);
+    __code get(Impl* tree, __code next(...));
     // __code removeRedBlackTree();
     // __code clearRedBlackTree();
     __code next(...);