diff options
| author | Sam Varshavchik | 2017-03-06 19:51:02 -0500 |
|---|---|---|
| committer | Sam Varshavchik | 2017-03-06 19:51:02 -0500 |
| commit | f25724f8807dddededb347e4740bfed93fda7bf5 (patch) | |
| tree | f91dab87d22a2363fb95eca8071d9b72be1ea0cb /unicode/unicode_htmlent.c | |
| parent | 7b444198abbc9d46d1ae191f3153b959a13b11a1 (diff) | |
| download | courier-libs-f25724f8807dddededb347e4740bfed93fda7bf5.tar.bz2 | |
courier-unicode: C++11 update.
* Migrate to C++11: remove unicode_char, use char32_t. Replace
std::vector<unicode_char> with std::u32string.
Diffstat (limited to 'unicode/unicode_htmlent.c')
| -rw-r--r-- | unicode/unicode_htmlent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unicode/unicode_htmlent.c b/unicode/unicode_htmlent.c index b1111ce..5472db8 100644 --- a/unicode/unicode_htmlent.c +++ b/unicode/unicode_htmlent.c @@ -12,7 +12,7 @@ struct i { size_t n_start; size_t n_size; - unicode_char v; + char32_t v; }; #include "unicode_htmlent.h" @@ -42,14 +42,14 @@ static int compar(const void *key, const void *obj) return 0; } -unicode_char unicode_html40ent_lookup(const char *n) +char32_t unicode_html40ent_lookup(const char *n) { const struct i *ptr; if (*n == '#') { const char *p=n; - unicode_char uc; + char32_t uc; char *endptr; ++p; |
