From 46b61d3ed2ae5bd5f74c9d580f5501b1226d9f4e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 21 Dec 2024 16:32:22 -0500 Subject: Add text:by_line()/:by_split()/:by_match() --- stdlib/text.h | 1 + 1 file changed, 1 insertion(+) (limited to 'stdlib/text.h') diff --git a/stdlib/text.h b/stdlib/text.h index f7785ddb..79c094af 100644 --- a/stdlib/text.h +++ b/stdlib/text.h @@ -59,6 +59,7 @@ Text_t Text$from_codepoints(Array_t codepoints); OptionalText_t Text$from_codepoint_names(Array_t codepoint_names); OptionalText_t Text$from_bytes(Array_t bytes); Array_t Text$lines(Text_t text); +Closure_t Text$by_line(Text_t text); Text_t Text$join(Text_t glue, Array_t pieces); Text_t Text$repeat(Text_t text, Int_t count); int32_t Text$get_grapheme_fast(TextIter_t *state, int64_t index); -- cgit v1.2.3