diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-03-24 14:04:32 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-03-24 14:04:32 +0000 |
commit | e541463b9b5764ab7e85a2b06afdf9018419b1b2 (patch) | |
tree | 6450ebdae3935f1be9912554594ed5b70dab1d67 /include/dom/core | |
parent | 30bd501a862a81b72b8c1c151ceafa0b79785cbd (diff) | |
download | libdom-e541463b9b5764ab7e85a2b06afdf9018419b1b2.tar.gz libdom-e541463b9b5764ab7e85a2b06afdf9018419b1b2.tar.bz2 |
API for comparing dom_string with lwc_string. Caseless version not implemented yet.
svn path=/trunk/libdom/; revision=13592
Diffstat (limited to 'include/dom/core')
-rw-r--r-- | include/dom/core/string.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dom/core/string.h b/include/dom/core/string.h index 31d8f42..84db35a 100644 --- a/include/dom/core/string.h +++ b/include/dom/core/string.h @@ -38,6 +38,11 @@ bool dom_string_isequal(const dom_string *s1, const dom_string *s2); /* Case insensitively compare two DOM strings */ bool dom_string_caseless_isequal(const dom_string *s1, const dom_string *s2); +/* Case sensitively compare DOM string and lwc_string */ +bool dom_string_lwc_isequal(const dom_string *s1, lwc_string *s2); +/* Case insensitively compare DOM string and lwc_string */ +bool dom_string_caseless_lwc_isequal(const dom_string *s1, lwc_string *s2); + /* Get the index of the first occurrence of a character in a dom string */ uint32_t dom_string_index(dom_string *str, uint32_t chr); /* Get the index of the last occurrence of a character in a dom string */ |