Now that all the M() and M2() uses properly supply a message
pointer as second parameter, fix the macros to use it.
Change-Id: I0b8f4848416c3fa2e06755ad6ea7171b7c546124
Signed-off-by: Jon Loeliger <jdl@netgate.com>
/* M: construct, but don't yet send a message */
/* M: construct, but don't yet send a message */
do { \\
vam->result_ready = 0; \\
mp = vl_msg_api_alloc(sizeof(*mp)); \\
do { \\
vam->result_ready = 0; \\
mp = vl_msg_api_alloc(sizeof(*mp)); \\
mp->client_index = vam->my_client_index; \\
} while(0);
mp->client_index = vam->my_client_index; \\
} while(0);
do { \\
vam->result_ready = 0; \\
mp = vl_msg_api_alloc(sizeof(*mp)+(n)); \\
do { \\
vam->result_ready = 0; \\
mp = vl_msg_api_alloc(sizeof(*mp)+(n)); \\
#define __vat_helper_macros_h__
/* M: construct, but don't yet send a message */
#define __vat_helper_macros_h__
/* M: construct, but don't yet send a message */
do { \
vam->result_ready = 0; \
mp = vl_msg_api_alloc_as_if_client(sizeof(*mp)); \
do { \
vam->result_ready = 0; \
mp = vl_msg_api_alloc_as_if_client(sizeof(*mp)); \
mp->client_index = vam->my_client_index; \
} while(0);
mp->client_index = vam->my_client_index; \
} while(0);
do { \
vam->result_ready = 0; \
mp = vl_msg_api_alloc_as_if_client(sizeof(*mp)+(n)); \
do { \
vam->result_ready = 0; \
mp = vl_msg_api_alloc_as_if_client(sizeof(*mp)+(n)); \