more code

This commit is contained in:
Hongze Cheng 2022-08-30 11:21:09 +08:00
parent e2f99ba072
commit f19b0f050f
1 changed files with 6 additions and 0 deletions

View File

@ -131,3 +131,9 @@ typedef struct {
SRBTreeNode *pNode;
SRBTree rbt;
} SMergeTree;
void tMergeTreeOpen(SMergeTree *pMTree, int8_t backward) {
pMTree->backward = backward;
pMTree->pNode = NULL;
tRBTreeCreate(&pMTree->rbt, NULL);
}