]> pd.if.org Git - pdclib/blobdiff - internals/_PDCLIB_locale.h
PDCLIB-25 #resolve #comment Made ctype, wctype and codec data const.(This may be...
[pdclib] / internals / _PDCLIB_locale.h
index fd47c9ab0c4b537835d374536d20d15e9b0a70e1..861b486c032969735f14276b1473ce36faaa3872 100644 (file)
@@ -80,13 +80,14 @@ typedef struct _PDCLIB_wcinfo
 } _PDCLIB_wcinfo_t;
 
 struct _PDCLIB_locale {
-    _PDCLIB_charcodec_t          _Codec;
+    const _PDCLIB_charcodec_t    _Codec;
     struct lconv                 _Conv;
 
     /* ctype / wctype */
-    _PDCLIB_wcinfo_t            *_WCType;
+    /* XXX: Maybe re-evaluate constness of these later on? */
+    const _PDCLIB_wcinfo_t      *_WCType;
     _PDCLIB_size_t               _WCTypeSize;
-    _PDCLIB_ctype_t             *_CType; 
+    const _PDCLIB_ctype_t       *_CType; 
 
     /* perror/strerror */
     char                        *_ErrnoStr[_PDCLIB_ERRNO_MAX];