mirror of https://github.com/zeldaret/tp.git
24 lines
542 B
C
24 lines
542 B
C
|
|
#ifndef SCOMPONENT_C_TREE_H
|
|
#define SCOMPONENT_C_TREE_H
|
|
|
|
#include "global.h"
|
|
#include "SComponent/c_list.h"
|
|
#include "SComponent/c_node.h"
|
|
|
|
struct node_lists_tree_class {
|
|
node_list_class *mpLists;
|
|
int mNumLists;
|
|
};
|
|
|
|
extern "C" {
|
|
|
|
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);
|
|
|
|
};
|
|
|
|
#endif
|