79
79
#define DSMEMSG_CAST(T, M) \
80
80
((((const dsmemsg_generic_t*)(M))->size_ == sizeof(T)) ? \
81
81
(((const dsmemsg_generic_t*)(M))->type_ == DSME_MSG_ID_(T) ? \
86
86
* @defgroup message_if Message passing interface for modules
87
87
* In addition to these functions, dsmesock_send() can be used from modules.
90
90
#define DSMEMSG_PRIVATE_FIELDS \