aboutsummaryrefslogtreecommitdiff
path: root/stralloc_cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'stralloc_cat.c')
-rw-r--r--stralloc_cat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/stralloc_cat.c b/stralloc_cat.c
new file mode 100644
index 0000000..9bbb119
--- /dev/null
+++ b/stralloc_cat.c
@@ -0,0 +1,7 @@
+#include "byte.h"
+#include "stralloc.h"
+
+int stralloc_cat(stralloc *sato,const stralloc *safrom)
+{
+ return stralloc_catb(sato,safrom->s,safrom->len);
+}