mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
c70d485d35
i previously had a bad habit of using double underscores in include guard macro names, which are implementation-reserved per the C++98 standard (see 17.4.3.1.2 Global names). Co-authored-by: Pheenoh <pheenoh@gmail.com>
22 lines
553 B
C
22 lines
553 B
C
|
|
#ifndef SCOMPONENT_C_TREE_H_
|
|
#define SCOMPONENT_C_TREE_H_
|
|
|
|
#include "SComponent/c_list.h"
|
|
#include "SComponent/c_node.h"
|
|
|
|
typedef struct node_lists_tree_class {
|
|
node_list_class* mpLists;
|
|
int mNumLists;
|
|
} node_lists_tree_class;
|
|
|
|
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
|