std1.0.0-beta-7 SafeC docs

std :: collections::ringbuffer

Macro RING_STATIC

#include <std/collections/ringbuffer.h> source

#define RING_STATIC(name, N) static unsigned char name##_storage_[N]; static struct RingBuffer name = { name##_storage_, N, N-1, 0, 0 }