The debug levels are a bitmask, and I'd started to enumerate them. Oops.
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -36,9 +36,9 @@ extern "C" { | ... | @@ -36,9 +36,9 @@ extern "C" { |
36 | struct _debug; | 36 | struct _debug; |
37 | typedef struct _debug* mu_debug_t; | 37 | typedef struct _debug* mu_debug_t; |
38 | 38 | ||
39 | #define MU_DEBUG_ERROR 1 | 39 | #define MU_DEBUG_ERROR 0x0001 |
40 | #define MU_DEBUG_TRACE 2 | 40 | #define MU_DEBUG_TRACE 0x0002 |
41 | #define MU_DEBUG_PROT 3 | 41 | #define MU_DEBUG_PROT 0x0004 |
42 | 42 | ||
43 | extern int mu_debug_create __P ((mu_debug_t *, void *owner)); | 43 | extern int mu_debug_create __P ((mu_debug_t *, void *owner)); |
44 | extern void mu_debug_destroy __P ((mu_debug_t *, void *owner)); | 44 | extern void mu_debug_destroy __P ((mu_debug_t *, void *owner)); | ... | ... |
-
Please register or sign in to post a comment