add a few buffer_init*_forread variants to pretend we have type safety make sure buffer_init_staticcontents handles flushing attempts
7 lines
114 B
C
7 lines
114 B
C
#include "buffer.h"
|
|
|
|
int buffer_putspace(buffer* b) {
|
|
static char space=' ';
|
|
return buffer_put(b,&space,1);
|
|
}
|