Mercurial > MadButterfly
comparison src/coord.c @ 3:164162781a7a
Test cairo with Xlib surface
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 25 Jul 2008 10:09:53 +0800 |
parents | 31402929c587 |
children | 9c331ec9e210 |
comparison
equal
deleted
inserted
replaced
2:31402929c587 | 3:164162781a7a |
---|---|
20 co_aix aggr_matrix[6]; | 20 co_aix aggr_matrix[6]; |
21 struct coord *parent; | 21 struct coord *parent; |
22 struct coord *children, *sibling; | 22 struct coord *children, *sibling; |
23 } coord_t; | 23 } coord_t; |
24 | 24 |
25 /* To keep possibility of changing type of aix */ | |
25 #define MUL(a, b) ((a) * (b)) | 26 #define MUL(a, b) ((a) * (b)) |
26 #define ADD(a, b) ((a) + (b)) | 27 #define ADD(a, b) ((a) + (b)) |
27 #define DIV(a, b) ((a) / (b)) | 28 #define DIV(a, b) ((a) / (b)) |
28 #define SUB(a, b) ((a) - (b)) | 29 #define SUB(a, b) ((a) - (b)) |
29 | 30 |