Mercurial > hg > Members > Moririn
comparison 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 |
comparison
equal
deleted
inserted
replaced
19:9302b1a48008 | 20:324c44f2076f |
---|---|
17 context->code[Exit] = exit_code; | 17 context->code[Exit] = exit_code; |
18 | 18 |
19 context->dataSize = 0; | 19 context->dataSize = 0; |
20 context->data[context->dataSize] = context->heap; | 20 context->data[context->dataSize] = context->heap; |
21 context->heap += sizeof(struct Allocate); | 21 context->heap += sizeof(struct Allocate); |
22 | |
23 context->root = 0; | |
24 context->current = 0; | |
22 } | 25 } |