Mercurial > MadButterfly
diff include/mb_backend.h @ 996:734ba9161be4 refine_backend_if
Change signature to make const for arguments of mb_timer_cb_t
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 22 Nov 2010 00:42:29 +0800 |
parents | 5d9def42df12 |
children | 595a06fc0157 |
line wrap: on
line diff
--- a/include/mb_backend.h Mon Nov 22 00:42:29 2010 +0800 +++ b/include/mb_backend.h Mon Nov 22 00:42:29 2010 +0800 @@ -102,7 +102,9 @@ /*! \brief Function signature of callback functions for timers. */ -typedef void (*mb_timer_cb_t)(int hdl, mb_timeval_t *tmo, mb_timeval_t *now, +typedef void (*mb_timer_cb_t)(int hdl, + const mb_timeval_t *tmo, + const mb_timeval_t *now, void *data); /*! \brief Timer manager