File indexing completed on 2026-05-03 08:14:04
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef _LIBCPP___SUPPORT_XLOCALE_NOP_LOCALE_MGMT_H
0011 #define _LIBCPP___SUPPORT_XLOCALE_NOP_LOCALE_MGMT_H
0012
0013 #include <__config>
0014
0015
0016 typedef void* locale_t;
0017
0018 inline _LIBCPP_HIDE_FROM_ABI locale_t duplocale(locale_t) { return nullptr; }
0019
0020 inline _LIBCPP_HIDE_FROM_ABI void freelocale(locale_t) {}
0021
0022 inline _LIBCPP_HIDE_FROM_ABI locale_t newlocale(int, const char*, locale_t) { return nullptr; }
0023
0024 #define LC_COLLATE_MASK (1 << LC_COLLATE)
0025 #define LC_CTYPE_MASK (1 << LC_CTYPE)
0026 #define LC_MESSAGES_MASK (1 << LC_MESSAGES)
0027 #define LC_MONETARY_MASK (1 << LC_MONETARY)
0028 #define LC_NUMERIC_MASK (1 << LC_NUMERIC)
0029 #define LC_TIME_MASK (1 << LC_TIME)
0030 #define LC_ALL_MASK \
0031 (LC_COLLATE_MASK | LC_CTYPE_MASK | LC_MONETARY_MASK | LC_NUMERIC_MASK | LC_TIME_MASK | LC_MESSAGES_MASK)
0032
0033 #endif