summary refs log tree commit diff
path: root/doc.h
diff options
context:
space:
mode:
authorwrmr2024-11-08 23:25:03 -0500
committerwrmr2024-11-08 23:25:03 -0500
commit012ed5bd6455ce291741ad540a5e356e4810133b (patch)
tree32bfb5425b1f1a899c497ce817b44111dcd0ff54 /doc.h
parent6050dcdd3669b7102f35a226a6a3ee485c7b703a (diff)
use strv_t for doc_add_text, remove doc_add_textn, add strv()
Diffstat (limited to 'doc.h')
-rw-r--r--doc.h3
1 files changed, 1 insertions, 2 deletions
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);