MentOS  0.8.0
The Mentoring Operating System
Macros
ring_buffer.h File Reference

Go to the source code of this file.

Macros

#define DECLARE_FIXED_SIZE_RING_BUFFER(type, name, length, init)
 Declares a fixed-size ring-buffer.
 
#define RING_BUFFER_ALLOC   malloc
 Function for allocating memory for the ring buffer.
 
#define RING_BUFFER_FREE   free
 Function for freeing the memory for the ring buffer.
 
#define DECLARE_RING_BUFFER(type, name, init)
 Declares a dynamic-size ring-buffer.
 

Detailed Description