diff options
| author | krasimir <krasimir@chalmers.se> | 2017-04-13 13:43:48 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2017-04-13 13:43:48 +0000 |
| commit | 2588a6f016cd1d0bc47d9ab0ab5a8b1d2f376000 (patch) | |
| tree | 7373cac6936a14f2fd13f1f01c2543a89c706970 /src/runtime/c/gu | |
| parent | e650b9c5fc38ebb408ddf1982249479aac73836d (diff) | |
gu_string_buf -> gu_new_string_buf in libgu
Diffstat (limited to 'src/runtime/c/gu')
| -rw-r--r-- | src/runtime/c/gu/string.c | 4 | ||||
| -rw-r--r-- | src/runtime/c/gu/string.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/c/gu/string.c b/src/runtime/c/gu/string.c index 386eb7a6f..118e0cb0b 100644 --- a/src/runtime/c/gu/string.c +++ b/src/runtime/c/gu/string.c @@ -50,7 +50,7 @@ gu_string_buf_end(GuOutStream* stream, size_t sz, GuExn* err) } GuStringBuf* -gu_string_buf(GuPool* pool) +gu_new_string_buf(GuPool* pool) { GuStringBuf* sbuf = gu_new(GuStringBuf, pool); sbuf->stream.output = gu_string_buf_output; @@ -152,7 +152,7 @@ GuString gu_format_string_v(const char* fmt, va_list args, GuPool* pool) { GuPool* tmp_pool = gu_local_pool(); - GuStringBuf* sb = gu_string_buf(tmp_pool); + GuStringBuf* sb = gu_new_string_buf(tmp_pool); GuOut* out = gu_string_buf_out(sb); gu_vprintf(fmt, args, out, NULL); gu_out_flush(out, NULL); diff --git a/src/runtime/c/gu/string.h b/src/runtime/c/gu/string.h index d52c9dddb..5136b0189 100644 --- a/src/runtime/c/gu/string.h +++ b/src/runtime/c/gu/string.h @@ -25,7 +25,7 @@ gu_string_in(GuString string, GuPool* pool); typedef struct GuStringBuf GuStringBuf; GuStringBuf* -gu_string_buf(GuPool* pool); +gu_new_string_buf(GuPool* pool); GuOut* gu_string_buf_out(GuStringBuf* sb); |
