blob: 5e00e5d8bad46086df25b446f28a5273dc8bb799 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef WARP_BUF_H
#define WARP_BUF_H
#include <stddef.h> // size_t
typedef struct {
size_t len,
dst;
} warp_buf_t;
void warp_buf_clear(warp_buf_t * const);
_Bool warp_buf_has_num(const warp_buf_t * const);
void warp_buf_push_num(warp_buf_t * const, const size_t);
void warp_buf_pop_num(warp_buf_t * const);
_Bool warp_buf_get(const warp_buf_t * const, size_t * const);
#endif /* WARP_BUF_H */
|