aboutsummaryrefslogtreecommitdiff
path: root/stralloc_cats.c
diff options
context:
space:
mode:
Diffstat (limited to 'stralloc_cats.c')
-rw-r--r--stralloc_cats.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/stralloc_cats.c b/stralloc_cats.c
new file mode 100644
index 0000000..92cb66e
--- /dev/null
+++ b/stralloc_cats.c
@@ -0,0 +1,8 @@
+#include "byte.h"
+#include "str.h"
+#include "stralloc.h"
+
+int stralloc_cats(stralloc *sa,const char *s)
+{
+ return stralloc_catb(sa,s,str_len(s));
+}