diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-05-05 22:46:40 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-05-05 22:50:25 +0100 |
commit | 35bc2ccbb89a6b499e0e3b6f7095afea214f0c59 (patch) | |
tree | cd494ae1e33ab55d0e644d11eb973ddde4decbb6 /content/content_protected.h | |
parent | f966580d22d47ab97bceb2f067fc2b9402af01b7 (diff) | |
download | netsurf-35bc2ccbb89a6b499e0e3b6f7095afea214f0c59.tar.gz netsurf-35bc2ccbb89a6b499e0e3b6f7095afea214f0c59.tar.bz2 |
change content get_source_data interfaces to return uint8_t and size_t
previously these interfaces returned char * and unsigned int which was
undesirable.
Diffstat (limited to 'content/content_protected.h')
-rw-r--r-- | content/content_protected.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/content/content_protected.h b/content/content_protected.h index 99a05cf49..0101790d1 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -17,8 +17,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/** \file - * Content handling (interface). +/** + * \file + * Protected interface to Content handling. * * The content functions manipulate struct contents, which correspond to URLs. */ @@ -255,7 +256,7 @@ int content__get_available_width(struct content *c); * \param size Pointer to location to receive byte size of source. * \return Pointer to source data. */ -const char *content__get_source_data(struct content *c, unsigned long *size); +const uint8_t *content__get_source_data(struct content *c, size_t *size); /** * Invalidate content reuse data. |