SSBM Decomp
Toggle main menu visibility
Loading...
Searching...
No Matches
Tree.h
Go to the documentation of this file.
1
#ifndef _CHARPIPELINE_STRUCTURES_TREE_H_
2
#define _CHARPIPELINE_STRUCTURES_TREE_H_
3
4
#include <
dolphin/types.h
>
5
6
#ifdef __cplusplus
7
extern
"C"
{
8
#endif
9
10
typedef
struct
{
11
Ptr
Prev
;
12
Ptr
Next
;
13
Ptr
Parent
;
14
Ptr
Children
;
15
}
DSBranch
, *
DSBranchPtr
;
16
17
typedef
struct
{
18
u32
Offset
;
19
Ptr
Root
;
20
}
DSTree
, *
DSTreePtr
;
21
22
void
DSExtractBranch
(
DSTreePtr
tree,
Ptr
obj);
23
void
DSInitTree
(
DSTreePtr
tree,
Ptr
obj,
DSBranchPtr
branch);
24
void
DSInsertBranchBelow
(
DSTreePtr
tree,
Ptr
cursor,
Ptr
obj);
25
void
DSInsertBranchBeside
(
DSTreePtr
tree,
Ptr
cursor,
Ptr
obj);
26
void
DSRemoveBranch
(
DSTreePtr
tree,
Ptr
obj);
27
28
#ifdef __cplusplus
29
}
30
#endif
31
32
#endif
DSRemoveBranch
void DSRemoveBranch(DSTreePtr tree, Ptr obj)
Definition
Tree.c:81
DSTreePtr
struct DSTree * DSTreePtr
DSBranchPtr
struct DSBranch * DSBranchPtr
DSInsertBranchBeside
void DSInsertBranchBeside(DSTreePtr tree, Ptr cursor, Ptr obj)
Definition
Tree.c:54
DSInitTree
void DSInitTree(DSTreePtr tree, Ptr obj, DSBranchPtr branch)
Definition
Tree.c:17
DSExtractBranch
void DSExtractBranch(DSTreePtr tree, Ptr obj)
Definition
Tree.c:3
DSInsertBranchBelow
void DSInsertBranchBelow(DSTreePtr tree, Ptr cursor, Ptr obj)
Definition
Tree.c:23
types.h
u32
unsigned int u32
Definition
types.h:13
Ptr
char * Ptr
Definition
types.h:23
DSBranch
Definition
Tree.h:10
DSBranch::Parent
Ptr Parent
Definition
Tree.h:13
DSBranch::Prev
Ptr Prev
Definition
Tree.h:11
DSBranch::Children
Ptr Children
Definition
Tree.h:14
DSBranch::Next
Ptr Next
Definition
Tree.h:12
DSTree
Definition
Tree.h:17
DSTree::Offset
u32 Offset
Definition
Tree.h:18
DSTree::Root
Ptr Root
Definition
Tree.h:19
libs
dolphin
include
charPipeline
structures
Tree.h
Generated by
1.17.0