aboutsummaryrefslogtreecommitdiff
path: root/lib/bob/u8strpushstr.c
blob: 64b123d3db2be02293b33b79afa3df882195b515 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <string.h>

#include "bob.h"

struct u8str *
u8strpushstr(struct u8str *b, const char *s)
{
	return u8strpushu8(b, (struct u8view){.p = s, .len = strlen(s)});
}