define Str.concat in zig

This commit is contained in:
Folkert 2020-12-01 21:36:33 +01:00
parent 1589e688b3
commit 1a71b8bac7
3 changed files with 140 additions and 1 deletions

View file

@ -19,6 +19,7 @@ comptime {
exportStrFn(str.countSegments, "count_segments");
exportStrFn(str.countGraphemeClusters, "count_grapheme_clusters");
exportStrFn(str.startsWith, "starts_with");
exportStrFn(str.strConcat, "concat");
}
// Export helpers - Must be run inside a comptime