libowfat/buffer/buffer_putsflush.c
leitner 214ad3a92e use gcc magic and a #define to convert buffer_puts to buffer_put if the
string argument length is known at compile time (same for
buffer_putsflush)
2015-04-19 02:11:41 +00:00

8 lines
158 B
C

#define __LIBOWFAT_INTERNAL
#include "str.h"
#include "buffer.h"
int buffer_putsflush(buffer* b,const char* x) {
return buffer_putflush(b,x,str_len(x));
}