diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-04-28 22:48:58 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-04-28 22:48:58 +0200 |
commit | 0578bfd08637d3e113d28507ea73fa9a649f2f21 (patch) | |
tree | 1a4165fe295146b2ba42f95aeb7a8ba910b30489 /include | |
parent | 4e5de201c070352837d22f3700b3ea47d9ed3043 (diff) |
Combine all inner text
Diffstat (limited to 'include')
-rw-r--r-- | include/quickmedia/HtmlSearch.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/quickmedia/HtmlSearch.h b/include/quickmedia/HtmlSearch.h index b3b2eaa..bedde03 100644 --- a/include/quickmedia/HtmlSearch.h +++ b/include/quickmedia/HtmlSearch.h @@ -2,15 +2,22 @@ #define QUICKMEDIA_HTML_SEARCH_H #include "NodeSearch.h" +#include <stddef.h> #ifdef __cplusplus extern "C" { #endif typedef struct { + char *data; + size_t size; + size_t capacity; +} QuickMediaString; + +typedef struct { const void *doc; const void *node; - void *text; + QuickMediaString text; } QuickMediaHtmlNode; typedef struct { |