mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-06 17:36:14 +01:00
19 lines
373 B
C
19 lines
373 B
C
|
#ifndef __CMPH_VQUEUE_H__
|
||
|
#define __CMPH_VQUEUE_H__
|
||
|
|
||
|
#include "cmph_types.h"
|
||
|
typedef struct __vqueue_t vqueue_t;
|
||
|
|
||
|
vqueue_t * vqueue_new(cmph_uint32 capacity);
|
||
|
|
||
|
cmph_uint8 vqueue_is_empty(vqueue_t * q);
|
||
|
|
||
|
void vqueue_insert(vqueue_t * q, cmph_uint32 val);
|
||
|
|
||
|
cmph_uint32 vqueue_remove(vqueue_t * q);
|
||
|
|
||
|
void vqueue_print(vqueue_t * q);
|
||
|
|
||
|
void vqueue_destroy(vqueue_t * q);
|
||
|
#endif
|