aggarg
(Gaurav Aggarwal)
4
Thank you for explaining your use case. I think we can add traceQUEUE_SEND_EXT
as per your proposal. The following should make it backward compatible:
#ifndef traceQUEUE_SEND_EXT
#define traceQUEUE_SEND_EXT( pxQueue, xCopyPosition ) traceQUEUE_SEND( pxQueue )
#endif
The call to traceQUEUE_SEND( pxQueue );
can be replaced with traceQUEUE_SEND_EXT( pxQueue, xCopyPosition );
in queue.c.
Sounds good. Please raise a PR.