trq_prev_msg()#
trq_prev_msg() retrieves the previous message in the queue iteration.
Prototype
q_msg trq_prev_msg(
q_msg msg
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
The current message in the queue iteration. |
Return Value
Returns the previous message in the queue iteration, or NULL if there are no more messages.
Notes
Use trq_first_msg() or trq_last_msg() to obtain an initial message before iterating with trq_prev_msg().
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples