Mercurial > hg > Members > Moririn
diff src/llrb/llrbContext.c @ 77:618c03f25108
implement insert(tail recursion)
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 27 Nov 2015 02:14:25 +0900 |
parents | 97387904add9 |
children | dc6f665bb753 |
line wrap: on
line diff
--- a/src/llrb/llrbContext.c Tue Nov 17 16:59:48 2015 +0900 +++ b/src/llrb/llrbContext.c Fri Nov 27 02:14:25 2015 +0900 @@ -22,6 +22,10 @@ extern __code balance1_stub(struct Context*); extern __code balance2_stub(struct Context*); extern __code balance3_stub(struct Context*); +extern __code balance4_stub(struct Context*); +extern __code balance4_1_stub(struct Context*); +extern __code balance4_2_stub(struct Context*); +extern __code balance5_stub(struct Context*); extern __code setRoot_stub(struct Context*); extern __code get_stub(struct Context*); extern __code findMin_stub(struct Context*); @@ -66,6 +70,10 @@ context->code[Balance1] = balance1_stub; context->code[Balance2] = balance2_stub; context->code[Balance3] = balance3_stub; + context->code[Balance4] = balance4_stub; + context->code[Balance4_1] = balance4_1_stub; + context->code[Balance4_2] = balance4_2_stub; + context->code[Balance5] = balance5_stub; context->code[SetRoot] = setRoot_stub; context->code[Get] = get_stub; context->code[Delete] = delete_stub;