tabs->spaces

This commit is contained in:
Nils O. Selåsdal
2013-11-22 20:06:05 +01:00
parent e808bcde4d
commit 3d2e0ce540
31 changed files with 1214 additions and 1214 deletions
+9 -9
View File
@@ -7,23 +7,23 @@ extern "C" {
typedef enum RBColor RBColor;
enum RBColor {
Red,
Black
Red,
Black
};
typedef struct RBNode RBNode;
struct RBNode {
unsigned char color; //Red/Black
RBNode *parent;
RBNode *right;
RBNode *left;
void *data;
unsigned char color; //Red/Black
RBNode *parent;
RBNode *right;
RBNode *left;
void *data;
};
typedef struct RBTree RBTree;
struct RBTree {
RBNode *node;
int (*compare)(const RBNode *a, const RBNode *b);
RBNode *node;
int (*compare)(const RBNode *a, const RBNode *b);
};
/** Remove a node from the tree.