Mercurial > MadButterfly
diff include/mb_backend.h @ 1019:1a3cc22ee1bd refine_backend_if
Fix testcase of animate.c for mb_timer_man_t
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 22 Nov 2010 13:52:59 +0800 |
parents | 9b5d4839c5bb |
children | 84006acab6af |
line wrap: on
line diff
--- a/include/mb_backend.h Mon Nov 22 13:15:33 2010 +0800 +++ b/include/mb_backend.h Mon Nov 22 13:52:59 2010 +0800 @@ -140,5 +140,7 @@ (tm_man)->timeout((tm_man), (tmout), (cb), (data)) #define mb_timer_man_remove(tm_man, tm_hdl) \ (tm_man)->remove((tm_man), (tm_hdl)) +#define mb_timer_man_new(tm_fact) (tm_fact)->new() +#define mb_timer_man_free(tm_fact, tm_man) (tm_fact)->free(tm_man) #endif /* __MB_BACKEND_H_ */