aboutsummaryrefslogtreecommitdiff
path: root/stralloc_copy.c
blob: 6b9ae420804592982f2770ceceb766a2bc57bdf1 (plain)
1
2
3
4
5
6
7
#include "byte.h"
#include "stralloc.h"

int stralloc_copy(stralloc *sato,const stralloc *safrom)
{
  return stralloc_copyb(sato,safrom->s,safrom->len);
}