]> pd.if.org Git - pdclib/blobdiff - internals/_PDCLIB_locale.h
PDCLIB-3 #resolve Implement towctrans/wctrans. Completes wctype.h
[pdclib] / internals / _PDCLIB_locale.h
index 3e0f424b06e7f65cebad083ac6db1c059a09f321..3b2deced51b3f519eb01ed49f1a325da69183955 100644 (file)
@@ -59,6 +59,9 @@
 #define _PDCLIB_CTYPE_DIGIT 256
 #define _PDCLIB_CTYPE_XDIGT 512
 
+#define _PDCLIB_WCTRANS_TOLOWER 1
+#define _PDCLIB_WCTRANS_TOUPPER 2
+
 typedef struct _PDCLIB_ctype
 {
     _PDCLIB_uint16_t flags;
@@ -69,10 +72,10 @@ typedef struct _PDCLIB_ctype
 
 typedef struct _PDCLIB_wcinfo
 {
-    _PDCLIB_uint32_t num;
+    _PDCLIB_wint_t   num;
     _PDCLIB_uint16_t flags;
-    _PDCLIB_uint32_t lower;
-    _PDCLIB_uint32_t upper;
+    _PDCLIB_wint_t   lower;
+    _PDCLIB_wint_t   upper;
 } _PDCLIB_wcinfo_t;
 
 extern _PDCLIB_wcinfo_t _PDCLIB_wcinfo[];