comparison 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
comparison
equal deleted inserted replaced
1018:7ccc094bdbe5 1019:1a3cc22ee1bd
138 138
139 #define mb_timer_man_timeout(tm_man, tmout, cb, data) \ 139 #define mb_timer_man_timeout(tm_man, tmout, cb, data) \
140 (tm_man)->timeout((tm_man), (tmout), (cb), (data)) 140 (tm_man)->timeout((tm_man), (tmout), (cb), (data))
141 #define mb_timer_man_remove(tm_man, tm_hdl) \ 141 #define mb_timer_man_remove(tm_man, tm_hdl) \
142 (tm_man)->remove((tm_man), (tm_hdl)) 142 (tm_man)->remove((tm_man), (tm_hdl))
143 #define mb_timer_man_new(tm_fact) (tm_fact)->new()
144 #define mb_timer_man_free(tm_fact, tm_man) (tm_fact)->free(tm_man)
143 145
144 #endif /* __MB_BACKEND_H_ */ 146 #endif /* __MB_BACKEND_H_ */