Skip to content
Snippets Groups Projects
Commit ce6f95a6 authored by Niels Möller's avatar Niels Möller
Browse files

* src/queue.c (object_queue_init): New function.

(object_queue_is_empty): New function.
(object_queue_add_head): Update length.
(object_queue_add_tail): -"-
(object_queue_remove_head): -"-
(object_queue_remove_tail): -"-
(queue_to_list): New function.
(object_queue_kill): New function.

* src/queue.h (object_queue): Added length attribute.
(FOR_OBJECT_QUEUE_REMOVE): Update length.

Rev: src/queue.c:1.7
Rev: src/queue.h:1.6
parent c4fcd356
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment