Mercurial > MadButterfly
diff src/shape_path.c @ 235:65cabbdd5284
termporary revision
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 25 Dec 2008 18:40:27 +0800 |
parents | 29e1b2bffe4c |
children | c96f38ad4bb6 |
line wrap: on
line diff
--- a/src/shape_path.c Wed Dec 24 23:43:39 2008 +0800 +++ b/src/shape_path.c Thu Dec 25 18:40:27 2008 +0800 @@ -42,6 +42,11 @@ #define ERR -1 #define PI 3.1415926 +#ifdef UNITTEST +#undef rdman_shape_man +#define rdman_shape_man(x, y) +#endif + /* ============================================================ * Implement arc in path. */ @@ -706,9 +711,7 @@ path->shape.free = sh_path_free; -#ifndef UNITTEST rdman_shape_man(rdman, (shape_t *)path); -#endif return (shape_t *)path; } @@ -741,9 +744,7 @@ path->shape.free = sh_path_free; -#ifndef UNITTEST rdman_shape_man(rdman, (shape_t *)path); -#endif return (shape_t *)path; }