blob: fd3d8e80a2fa522a1b4184af316f92a50455d4e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef BH_INTERNAL_QUEUE_H
#define BH_INTERNAL_QUEUE_H
#include <bh/queue.h>
struct bh_queue_s
{
void **data;
size_t size;
size_t head;
size_t tail;
size_t capacity;
};
void bh_queue_init(bh_queue_t *queue);
void bh_queue_destroy(bh_queue_t *queue);
#endif /* BH_INTERNAL_QUEUE_H */
|