+/* PDCLib locale support <_PDCLIB_locale.h>
+
+ This file is part of the Public Domain C Library (PDCLib).
+ Permission is granted to use, modify, and / or redistribute at will.
+*/
+
#ifndef __PDCLIB_LOCALE_H
#define __PDCLIB_LOCALE_H __PDCLIB_LOCALE_H
-#include <_PDCLIB_int.h>
+
+#include "_PDCLIB_int.h"
+
#include <locale.h>
#include <wctype.h>
#include <threads.h>
} _PDCLIB_wcinfo_t;
struct _PDCLIB_locale {
- const _PDCLIB_charcodec_t _Codec;
- struct lconv _Conv;
+ const struct _PDCLIB_charcodec_t * _Codec;
+ struct lconv _Conv;
/* ctype / wctype */
/* XXX: Maybe re-evaluate constness of these later on? */
const _PDCLIB_ctype_t *_CType;
/* perror/strerror */
- char *_ErrnoStr[_PDCLIB_ERRNO_MAX];
+ const char * const _ErrnoStr[_PDCLIB_ERRNO_MAX];
};
extern const _PDCLIB_wcinfo_t _PDCLIB_wcinfo[];