Fix cbuf documentation
This commit is contained in:
parent
96b5067cbf
commit
26213f1031
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
// To define a circular buffer type of 20 ints:
|
// To define a circular buffer type of 20 ints:
|
||||||
// typedef CBUF(int, 20) my_cbuf_t;
|
// struct cbuf_int CBUF(int, 20);
|
||||||
//
|
//
|
||||||
// data has length CAP + 1 to distinguish empty vs full.
|
// data has length CAP + 1 to distinguish empty vs full.
|
||||||
#define CBUF(TYPE, CAP) { \
|
#define CBUF(TYPE, CAP) { \
|
||||||
|
|
Loading…
Reference in a new issue