Files: 1d67f693f364e55fe7c4f752a49923bb51c6875b / foobuf.h
409 bytesRaw
1 | |
2 | |
3 | struct foobuf { |
4 | size_t len; |
5 | size_t offset; |
6 | float *data; |
7 | }; |
8 | |
9 | int foobuf_init(struct foobuf **, size_t len); |
10 | float foobuf_read(struct foobuf *buf, size_t offset); |
11 | void foobuf_write(struct foobuf *buf, float val); |
12 | |
13 | int _struct_init(void **, size_t); |
14 | |
15 | |
16 | |
17 |
Built with git-ssb-web