* Copyright 2010, Oliver Tappe, zooey@hirschkaefer.de.
* Distributed under the terms of the MIT License.
*/
#ifndef _LOCALE_DATA_H
#define _LOCALE_DATA_H
#include <locale.h>
extern "C" {
extern const unsigned short int *__ctype_b;
extern const int *__ctype_tolower;
extern const int *__ctype_toupper;
extern unsigned short int __ctype_mb_cur_max;
}
namespace BPrivate {
namespace Libroot {
* The following arrays have 384 elements where the elements at index -128..-2
* mirror the elements at index 128..255 (to protect against invocations of
* ctype macros with negative character values).
* The element at index -1 is a dummy element containing the neutral/identity
* value used when the array is accessed as in 'isblank(EOF)' (i.e. with
* index -1).
*/
extern const unsigned short gPosixClassInfo[384];
extern const int gPosixToLowerMap[384];
extern const int gPosixToUpperMap[384];
extern const char* gPosixLanginfo[];
extern const struct lc_time_t gPosixLCTimeInfo;
extern struct lconv gPosixLocaleConv;
}
}
#endif