summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/string.c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2014-12-29 10:59:20 +0000
committerkr.angelov <kr.angelov@gmail.com>2014-12-29 10:59:20 +0000
commit3bd40dbab68c8354d8cfceb6dad32d24b13bc723 (patch)
treeb313cba147c811a720b1f17d5a7c1277fab68a72 /src/runtime/c/gu/string.c
parent8fd24c3839e7d171e0c4170ae17b26c7ff5aec1b (diff)
API for word alignment in the C runtime and in the Haskell binding
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)
{