This repository has been archived on 2026-04-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

21 lines
325 B
C
Raw Permalink Normal View History

#ifndef BH_INTERNAL_QUEUE_H
#define BH_INTERNAL_QUEUE_H
2024-04-13 14:52:29 +03:00
#include "bh.h"
2024-04-13 14:52:29 +03:00
#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 */