Queue/Definition: Difference between revisions

Content added Content deleted
No edit summary
Line 1,233: Line 1,233:
/* If the queue was non-empty, points the tail of the queue */
/* If the queue was non-empty, points the tail of the queue */
/* to the new node. */
/* to the new node. */
tail = t;
tail = t; /* Point "tail" at the end of the queue. */
tail => link = bind(:node, null:);
end push;
end push;