returns true if buffer is full
| 81 | |
| 82 | // returns true if buffer is full |
| 83 | inline bool CircularBuffer_Full |
| 84 | ( |
| 85 | const CircularBuffer cb // buffer to inspect |
| 86 | ) { |
| 87 | ASSERT(cb != NULL); |
| 88 | |
| 89 | return cb->item_count == cb->item_cap; |
| 90 | } |
| 91 | |
| 92 | // sets the read pointer to the beginning of the buffer |
| 93 | void CircularBuffer_ResetReader |
no outgoing calls