aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@smyrno.hos.anvin.org>2005-11-26 12:15:41 -0800
committerH. Peter Anvin <hpa@smyrno.hos.anvin.org>2005-11-26 12:15:41 -0800
commit49b561825b4069061868b8808da85bbc8f7692ab (patch)
treef94325801f4364695e948f36bc8cafa151496aac
parent75635d846bd0140ee493705745e3a5c7c042b044 (diff)
downloadlibucd-49b561825b4069061868b8808da85bbc8f7692ab.tar.gz
Rename structure; add field for UCS value
-rw-r--r--ucd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ucd.h b/ucd.h
index fb7f625..1eda004 100644
--- a/ucd.h
+++ b/ucd.h
@@ -322,7 +322,7 @@ enum unicode_general_category {
#define UC_FL_WHITE_SPACE UC_FLAG(34)
#define UC_FL_BIDI_MIRRORED UC_FLAG(35)
-struct unicode_char_data {
+struct unicode_character_data {
uint64_t fl; /* Flags */
const char *name;
const char *bidi_mirroring_glyph;
@@ -330,6 +330,7 @@ struct unicode_char_data {
const char *uppercase_mapping;
const char *lowercase_mapping;
const char *titlecase_mapping;
+ int32_t ucs; /* Actual codepoint */
int32_t simple_uppercase;
int32_t simple_lowercase;
int32_t simple_titlecase;