"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/rbtree.h" between
bed-3.0.3.src.tar.xz and bed-3.1.0.src.tar.xz

About: bed is an adjustable data format binary editor.

rbtree.h  (bed-3.0.3.src.tar.xz):rbtree.h  (bed-3.1.0.src.tar.xz)
skipping to change at line 47 skipping to change at line 47
BLOCKTYPE blocknr; BLOCKTYPE blocknr;
char *buf; char *buf;
BEDS_SIZE_T size; BEDS_SIZE_T size;
}; };
typedef struct data Data; typedef struct data Data;
typedef BLOCKTYPE Key; typedef BLOCKTYPE Key;
#define nr(x) (x.blocknr) #define nr(x) (x.blocknr)
#define comparekey(one,two) ((one)-(two)) #define comparekey(one,two) ((one)-(two))
#define comparedat(one,two) comparekey(nr(one),nr(two)) #define comparedat(one,two) comparekey(nr(one),nr(two))
#define compare(first, second) comparedat((first->data),(second->data)) #define compareel(first, second) comparedat((first->data),(second->data))
/* Tree structures */ /* Tree structures */
#define NUMBEROFTREELS 0x100 #define NUMBEROFTREELS 0x100
typedef enum rbcolors {RBRED,RBBLACK} Color; typedef enum rbcolors {RBRED,RBBLACK} Color;
struct treeel { struct treeel {
struct treeel *left; struct treeel *left;
struct treeel *right; struct treeel *right;
struct treeel *parent; struct treeel *parent;
Color color; Color color;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)