summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/c/gu/string.c')
-rw-r--r--src/runtime/c/gu/string.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime/c/gu/string.c b/src/runtime/c/gu/string.c
index d380fca49..0947cf9e0 100644
--- a/src/runtime/c/gu/string.c
+++ b/src/runtime/c/gu/string.c
@@ -82,6 +82,12 @@ gu_string_buf_freeze(GuStringBuf* sb, GuPool* pool)
return p;
}
+void
+gu_string_buf_flush(GuStringBuf* sb)
+{
+ gu_buf_flush(sb->buf);
+}
+
GuIn*
gu_string_in(GuString s, GuPool* pool)
{