comparison src/llrb/llrbContext.c @ 75:97387904add9

refactoring
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Tue, 17 Nov 2015 15:53:51 +0900
parents 2667c3251a00
children 618c03f25108
comparison
equal deleted inserted replaced
74:724b65b1cfaf 75:97387904add9
20 extern __code fixUp_stub(struct Context*); 20 extern __code fixUp_stub(struct Context*);
21 extern __code changeReference_stub(struct Context*); 21 extern __code changeReference_stub(struct Context*);
22 extern __code balance1_stub(struct Context*); 22 extern __code balance1_stub(struct Context*);
23 extern __code balance2_stub(struct Context*); 23 extern __code balance2_stub(struct Context*);
24 extern __code balance3_stub(struct Context*); 24 extern __code balance3_stub(struct Context*);
25 extern __code setRoot_stub(struct Context*);
25 extern __code get_stub(struct Context*); 26 extern __code get_stub(struct Context*);
26 extern __code findMin_stub(struct Context*); 27 extern __code findMin_stub(struct Context*);
27 extern __code delete_stub(struct Context*); 28 extern __code delete_stub(struct Context*);
28 extern __code replaceNode_d1_stub(struct Context*); 29 extern __code replaceNode_d1_stub(struct Context*);
29 extern __code replaceNode_d2_stub(struct Context*); 30 extern __code replaceNode_d2_stub(struct Context*);
63 context->code[FixUp] = fixUp_stub; 64 context->code[FixUp] = fixUp_stub;
64 context->code[ChangeRef] = changeReference_stub; 65 context->code[ChangeRef] = changeReference_stub;
65 context->code[Balance1] = balance1_stub; 66 context->code[Balance1] = balance1_stub;
66 context->code[Balance2] = balance2_stub; 67 context->code[Balance2] = balance2_stub;
67 context->code[Balance3] = balance3_stub; 68 context->code[Balance3] = balance3_stub;
69 context->code[SetRoot] = setRoot_stub;
68 context->code[Get] = get_stub; 70 context->code[Get] = get_stub;
69 context->code[Delete] = delete_stub; 71 context->code[Delete] = delete_stub;
70 context->code[FindMin] = findMin_stub; 72 context->code[FindMin] = findMin_stub;
71 context->code[Replace_d1] = replaceNode_d1_stub; 73 context->code[Replace_d1] = replaceNode_d1_stub;
72 context->code[Replace_d2] = replaceNode_d2_stub; 74 context->code[Replace_d2] = replaceNode_d2_stub;