Proper return

This commit is contained in:
Imbus 2024-06-30 05:29:07 +02:00
parent 6e5fe34c2b
commit 0926a4ccd8

View file

@ -45,6 +45,7 @@ rb_push_back(struct RingBuf *rb, const void *item, MEMCPY_T memcpy_fn)
rb->write_head = rb->buffer;
rb->count++;
return WriteOk;
}
enum ReadResult
@ -61,4 +62,5 @@ rb_pop_front(struct RingBuf *rb, void *item)
rb->read_head = rb->buffer;
rb->count--;
return ReadOk;
}