Grow-only NoodleBuffer allocation helpers. More...

Functions | |
| static float * | noodle_buffer_alloc_float (size_t n_floats) |
| void | noodle_buffer_init (NoodleBuffer *buf) |
| Initialize a NoodleBuffer. | |
| float * | noodle_buffer_require (NoodleBuffer *buf, size_t required_floats) |
| Ensure that a buffer can hold at least required_floats floats. | |
| void | noodle_buffer_free (NoodleBuffer *buf) |
| Release a NoodleBuffer. | |
| size_t | noodle_buffer_capacity (const NoodleBuffer *buf) |
| Return the buffer capacity in float elements. | |
| size_t | noodle_buffer_capacity_bytes (const NoodleBuffer *buf) |
| Return the buffer capacity in bytes. | |
Grow-only NoodleBuffer allocation helpers.
|
static |