elpekenin/utils/ring_buffer.h
¶
Implementation of a ring buffer.
Tiny wrapper on top of an array.
-
new_rbuf(type, size, name)¶
[source] Create a new ring buffer.
- Parameters:
type – Of the values being stored.
size – Capacity of the buffer.
name – Of the ring buffer variable to be created.