From 012ed5bd6455ce291741ad540a5e356e4810133b Mon Sep 17 00:00:00 2001 From: wrmr Date: Fri, 8 Nov 2024 23:25:03 -0500 Subject: use strv_t for doc_add_text, remove doc_add_textn, add strv() --- doc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc.h') diff --git a/doc.h b/doc.h index a71ca49..a0b1031 100644 --- a/doc.h +++ b/doc.h @@ -29,8 +29,7 @@ void doc_fini(struct doc *); void doc_new_line(struct doc *); void doc_add_line(struct doc *, strv_t); -void doc_add_text(struct doc *, const char *); -void doc_add_textn(struct doc *, const char *, size_t); +void doc_add_text(struct doc *, strv_t); struct doc_line *doc_line_at(struct doc *d, size_t ofs); int doc_line_prevp(struct doc *d, size_t ofs); -- cgit 1.4.1-2-gfad0