Mercurial > hg > Members > Moririn
diff src/llrb/llrbContext.c @ 20:324c44f2076f
implement insert
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 28 Apr 2015 04:31:19 +0900 |
parents | 9302b1a48008 |
children | 737a900518be |
line wrap: on
line diff
--- a/src/llrb/llrbContext.c Tue Apr 21 22:36:23 2015 +0900 +++ b/src/llrb/llrbContext.c Tue Apr 28 04:31:19 2015 +0900 @@ -19,4 +19,7 @@ context->dataSize = 0; context->data[context->dataSize] = context->heap; context->heap += sizeof(struct Allocate); + + context->root = 0; + context->current = 0; }