From 0578bfd08637d3e113d28507ea73fa9a649f2f21 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 28 Apr 2021 22:48:58 +0200 Subject: Combine all inner text --- include/quickmedia/HtmlSearch.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include') 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 #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 { -- cgit v1.2.3