summaryrefslogtreecommitdiffstats
path: root/libcnary/include/node.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2018-11-28 03:18:39 +0100
committerGravatar Nikias Bassen2018-11-28 03:18:39 +0100
commit74536d7a6737e2a4afb006106f1ce30a9a5aeea5 (patch)
tree54c7be420a2d5bf13b96fee7ae5fc3ffca3ad6c0 /libcnary/include/node.h
parent2e67a01ba65ee3ac2a028dab2d636227616673ef (diff)
downloadlibplist-74536d7a6737e2a4afb006106f1ce30a9a5aeea5.tar.gz
libplist-74536d7a6737e2a4afb006106f1ce30a9a5aeea5.tar.bz2
libcnary: Remove redundant members from node_t struct
Diffstat (limited to 'libcnary/include/node.h')
-rw-r--r--libcnary/include/node.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/libcnary/include/node.h b/libcnary/include/node.h
index f9afdd6..7e9da50 100644
--- a/libcnary/include/node.h
+++ b/libcnary/include/node.h
@@ -37,20 +37,10 @@ typedef struct node_t {
struct node_t* prev;
unsigned int count;
- // Local Properties
- int isRoot;
- int isLeaf;
-
// Local Members
void *data;
- unsigned int depth;
struct node_t* parent;
struct node_list_t* children;
-
- // Virtual Functions
- int(*attach)(struct node_t* parent, struct node_t* child);
- int(*detach)(struct node_t* parent, struct node_t* child);
-
} node_t;
void node_destroy(struct node_t* node);