diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2016-10-15 14:48:18 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2016-10-15 15:26:05 +0100 |
commit | f9db354827f8e88457dd8a0ccf36d8383f715037 (patch) | |
tree | 386ef39a15cd6c110377949af7d32a58bd2aecc3 | |
parent | 45e8eec9340f6780313346862da0d75f4a968f86 (diff) | |
download | libwapcaplet-f9db354827f8e88457dd8a0ccf36d8383f715037.tar.gz libwapcaplet-f9db354827f8e88457dd8a0ccf36d8383f715037.tar.bz2 |
Enable lwc_string_caseless_hash_value function, and include stddef.h for NULL.
-rw-r--r-- | include/libwapcaplet/libwapcaplet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libwapcaplet/libwapcaplet.h b/include/libwapcaplet/libwapcaplet.h index 29cd47e..d8cc841 100644 --- a/include/libwapcaplet/libwapcaplet.h +++ b/include/libwapcaplet/libwapcaplet.h @@ -16,6 +16,7 @@ extern "C" #include <sys/types.h> #include <stdbool.h> +#include <stddef.h> #include <stdint.h> #include <assert.h> @@ -259,7 +260,6 @@ lwc__intern_caseless_string(lwc_string *str); * @return Result of operation, if not ok then value pointed to by \a ret will * not be valid. */ -/* static inline lwc_error lwc_string_caseless_hash_value( lwc_string *str, lwc_hash *hash) { @@ -273,7 +273,7 @@ static inline lwc_error lwc_string_caseless_hash_value( *hash = str->insensitive->hash; return lwc_error_ok; } -*/ + /** * Iterate the context and return every string in it. |