Files
tp/include/SComponent/c_tree.h
T

22 lines
551 B
C
Raw Normal View History

2020-11-30 14:26:55 -08:00
#ifndef SCOMPONENT_C_TREE_H
#define SCOMPONENT_C_TREE_H
#include "SComponent/c_list.h"
#include "SComponent/c_node.h"
2020-12-31 21:12:29 +01:00
typedef struct node_lists_tree_class {
2020-12-26 11:31:49 -05:00
node_list_class* mpLists;
2020-11-30 14:26:55 -08:00
int mNumLists;
2020-12-31 21:12:29 +01:00
} node_lists_tree_class;
2020-11-30 14:26:55 -08:00
extern "C" {
2020-12-26 11:31:49 -05:00
int cTr_SingleCut(node_class* pNode);
int cTr_Addition(node_lists_tree_class* pTree, int listIdx, node_class* pNode);
int cTr_Insert(node_lists_tree_class* pTree, int listIdx, node_class* pNode, int idx);
void cTr_Create(node_lists_tree_class* pTree, node_list_class* pLists, int numLists);
2020-11-30 14:26:55 -08:00
};
#endif