Numworks Epsilon  1.4.1
Graphing Calculator Operating System
ringbuf.h File Reference

Go to the source code of this file.

Classes

struct  _ringbuf_t
 

Macros

#define ringbuf_alloc(r, sz)
 

Typedefs

typedef struct _ringbuf_t ringbuf_t
 

Macro Definition Documentation

◆ ringbuf_alloc

#define ringbuf_alloc (   r,
  sz 
)
Value:
{ \
(r)->buf = m_new(uint8_t, sz); \
(r)->size = sz; \
(r)->iget = (r)->iput = 0; \
}
unsigned char uint8_t
Definition: stdint.h:4
#define m_new(type, num)
Definition: misc.h:57

Definition at line 41 of file ringbuf.h.

Typedef Documentation

◆ ringbuf_t

typedef struct _ringbuf_t ringbuf_t