Remove some macros, we can use the paste operator before __VA_ARGS__

This commit is contained in:
Wim Taymans 2017-08-07 19:55:03 +02:00
parent b90dac7656
commit 791fb53503
19 changed files with 31 additions and 50 deletions

View file

@ -235,7 +235,7 @@ void pw_protocol_native_connection_destroy(struct pw_protocol_native_connection
pw_log_debug("connection %p: destroy", conn);
pw_listener_list_emit_na(&conn->listener_list, struct pw_protocol_native_connection_events, destroy);
pw_listener_list_emit(&conn->listener_list, struct pw_protocol_native_connection_events, destroy);
free(impl->out.buffer_data);
free(impl->in.buffer_data);
@ -430,7 +430,7 @@ pw_protocol_native_connection_end(struct pw_protocol_native_connection *conn,
printf(">>>>>>>>> out:\n");
spa_debug_pod((struct spa_pod *)p);
}
pw_listener_list_emit_na(&conn->listener_list, struct pw_protocol_native_connection_events, need_flush);
pw_listener_list_emit(&conn->listener_list, struct pw_protocol_native_connection_events, need_flush);
}
/** Flush the connection object