diff options
author | wrmr | 2024-11-08 23:23:07 -0500 |
---|---|---|
committer | wrmr | 2024-11-08 23:23:07 -0500 |
commit | 6050dcdd3669b7102f35a226a6a3ee485c7b703a (patch) | |
tree | 68c710564085c9bdf3fabc4da5663f72e119b72f /doc.h | |
parent | 25cde1651b86455707051a842ed66a6df59a006b (diff) |
use strv_t in plaintext parsing, doc_add_line
Diffstat (limited to 'doc.h')
-rw-r--r-- | doc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc.h b/doc.h index 132999e..a71ca49 100644 --- a/doc.h +++ b/doc.h @@ -2,6 +2,7 @@ #define DOC_H #include "buf.h" +#include "strv.h" #define DOC_LINK_NONE 0xffff @@ -27,7 +28,7 @@ void doc_init(struct doc *); void doc_fini(struct doc *); void doc_new_line(struct doc *); -void doc_add_line(struct doc *, const char *); +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); |