From c0359b2d99be860370a3520cbddf11cd3dd1ade9 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Fri, 14 Jan 2022 09:09:45 +0100 Subject: Renamed *_v() methods to *_sv(). Note: this breaks API, hopefully not too intrusive. The change was needed to be consistent in using 'sv' as a shorthand for "string view" everywhere, and is easier to understand than _v(). --- examples/sview_split.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/sview_split.c') diff --git a/examples/sview_split.c b/examples/sview_split.c index 1c29240b..0db175ce 100644 --- a/examples/sview_split.c +++ b/examples/sview_split.c @@ -14,7 +14,7 @@ int main() c_ARGsv(year), c_ARGsv(month), c_ARGsv(day)); c_auto (cstr, y, m, d) { - y = cstr_from_v(year), m = cstr_from_v(month), d = cstr_from_v(day); + y = cstr_from_sv(year), m = cstr_from_sv(month), d = cstr_from_sv(day); printf("%s, %s, %s\n", y.str, m.str, d.str); } } -- cgit v1.2.3