struct sld_queue sld_queue
SLD_UINT sld_queue_size(struct sld_queue *queue)
Returns the size of a sld_queue.
Definition: queue.c:80
sld_queue_type queue_type
Definition: queue.h:43
sld_queue_type
Definition: queue.h:38
struct sld_vector * vector
Definition: queue.h:46
SLD_UINT size
Definition: queue.h:44
void * sld_queue_remove(struct sld_queue *queue)
Returns and removes the first object in a sld_queue.
Definition: queue.c:101
void * sld_queue_peek(struct sld_queue *queue)
Returns the first object in a sld_queue.
Definition: queue.c:123
void sld_queue_free(struct sld_queue *queue)
Frees any memory allocated for an initialized sld_queue.
Definition: queue.c:136
SLD_SSINT sld_queue_init(struct sld_queue *queue, sld_queue_type queue_type)
Initializes a sld_queue.
Definition: queue.c:33
signed short int SLD_SSINT
Definition: types.h:47
unsigned int SLD_UINT
Definition: types.h:56
struct sld_list * list
Definition: queue.h:45
SLD_SSINT sld_queue_add(struct sld_queue *queue, void *object)
Adds an object to the start of a sld_queue.
Definition: queue.c:85