diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-07-22 11:47:43 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-07-22 11:47:43 +0100 |
commit | 7ca9105673b0360b62a1c144db0fe90aa5b9164f (patch) | |
tree | b1ae865d9e69e1cc7ca8d453a0669e547709d28e /include/dom/core | |
parent | 1f4cf0d70ae1f082c3bf7f08fabc70a40dd0848a (diff) | |
parent | 5b82e5a23e4b442bc330783091ed01b95f037175 (diff) | |
download | libdom-7ca9105673b0360b62a1c144db0fe90aa5b9164f.tar.gz libdom-7ca9105673b0360b62a1c144db0fe90aa5b9164f.tar.bz2 |
Merge branch 'master' of git://git.netsurf-browser.org/libdom into chris/amiga-hubbub-lib-compat
Diffstat (limited to 'include/dom/core')
-rw-r--r-- | include/dom/core/string.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dom/core/string.h b/include/dom/core/string.h index b9b41a9..f2a6122 100644 --- a/include/dom/core/string.h +++ b/include/dom/core/string.h @@ -102,6 +102,14 @@ dom_exception dom_string_replace(dom_string *target, dom_string *source, uint32_t i1, uint32_t i2, dom_string **result); +/* Generate an uppercase version of the given string */ +dom_exception dom_string_toupper(dom_string *source, bool ascii_only, + dom_string **upper); + +/* Generate an lowercase version of the given string */ +dom_exception dom_string_tolower(dom_string *source, bool ascii_only, + dom_string **lower); + /* Calculate a hash value from a dom string */ uint32_t dom_string_hash(dom_string *str); |