diff options
| author | Josh Wolfe <thejoshwolfe@gmail.com> | 2015-12-01 10:44:30 -0700 |
|---|---|---|
| committer | Josh Wolfe <thejoshwolfe@gmail.com> | 2015-12-01 10:44:30 -0700 |
| commit | ab327344b671bff7f874f24691d7e3f19176167c (patch) | |
| tree | c437760bbc1f7059417b21e37c3d15a42534d4e8 /src/buffer.hpp | |
| parent | 9278dbedd5242bf4253da29c0fab36eea9dda61b (diff) | |
| parent | dfb6682089ad758b7ba72733778a9aa8c544c164 (diff) | |
| download | zig-ab327344b671bff7f874f24691d7e3f19176167c.tar.gz zig-ab327344b671bff7f874f24691d7e3f19176167c.zip | |
merge conflicts
Diffstat (limited to 'src/buffer.hpp')
| -rw-r--r-- | src/buffer.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.hpp b/src/buffer.hpp index f9b2497548..3670332038 100644 --- a/src/buffer.hpp +++ b/src/buffer.hpp @@ -13,6 +13,7 @@ #include <assert.h> #include <stdint.h> #include <ctype.h> +#include <stdarg.h> #define BUF_INIT {{0}} @@ -24,6 +25,7 @@ struct Buf { Buf *buf_sprintf(const char *format, ...) __attribute__ ((format (printf, 1, 2))); +Buf *buf_vprintf(const char *format, va_list ap); static inline int buf_len(Buf *buf) { assert(buf->list.length); |
