util/{Foreign,Static}FifoBuffer: update API documentation

This commit is contained in:
Max Kellermann 2017-04-24 20:19:14 +02:00
parent 52cb425e33
commit d68772d45a
2 changed files with 4 additions and 4 deletions

View File

@ -144,7 +144,7 @@ public:
/**
* Prepares writing. Returns a buffer range which may be written.
* When you are finished, call append().
* When you are finished, call Append().
*/
Range Write() {
if (IsEmpty())
@ -172,7 +172,7 @@ public:
/**
* Expands the tail of the buffer, after data has been written to
* the buffer returned by write().
* the buffer returned by Write().
*/
void Append(size_type n) {
assert(tail <= capacity);

View File

@ -88,7 +88,7 @@ public:
/**
* Prepares writing. Returns a buffer range which may be written.
* When you are finished, call append().
* When you are finished, call Append().
*/
Range Write() {
if (IsEmpty())
@ -101,7 +101,7 @@ public:
/**
* Expands the tail of the buffer, after data has been written to
* the buffer returned by write().
* the buffer returned by Write().
*/
void Append(size_type n) {
assert(tail <= size);