Macro message_unref.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -51,7 +51,7 @@ extern void message_destroy __P ((message_t *, void *owner)); | ... | @@ -51,7 +51,7 @@ extern void message_destroy __P ((message_t *, void *owner)); |
51 | extern void * message_get_owner __P ((message_t)); | 51 | extern void * message_get_owner __P ((message_t)); |
52 | 52 | ||
53 | extern int message_ref __P ((message_t)); | 53 | extern int message_ref __P ((message_t)); |
54 | #define message_unref(msg) message_destroy (&msg) | 54 | #define message_unref(msg) message_destroy (&msg, NULL) |
55 | 55 | ||
56 | extern int message_get_header __P ((message_t, header_t *)); | 56 | extern int message_get_header __P ((message_t, header_t *)); |
57 | extern int message_set_header __P ((message_t, header_t, void *owner)); | 57 | extern int message_set_header __P ((message_t, header_t, void *owner)); | ... | ... |
-
Please register or sign in to post a comment