some constness stuff for buffer_0, an experimental optimization for
byte_copy and add buffer_putspace, a trivial shortcut.master
parent
ffd6158589
commit
05b4cf85f7
@ -0,0 +1,7 @@
|
|||||||
|
#include "str.h"
|
||||||
|
#include "buffer.h"
|
||||||
|
|
||||||
|
int buffer_putspace(buffer* b) {
|
||||||
|
static char space=' ';
|
||||||
|
return buffer_put(b,&space,1);
|
||||||
|
}
|
Loading…
Reference in New Issue