]> pd.if.org Git - pdclib/blob - opt/c_locale/_PDCLIB_initclocale.c
PDCLib includes with quotes, not <>.
[pdclib] / opt / c_locale / _PDCLIB_initclocale.c
1 /* _PDCLIB_initclocale( locale_t )\r
2 \r
3    This file is part of the Public Domain C Library (PDCLib).\r
4    Permission is granted to use, modify, and / or redistribute at will.\r
5 */\r
6 \r
7 #ifndef REGTEST\r
8 #include "_PDCLIB_clocale.h"\r
9 #include "_PDCLIB_locale.h"\r
10 \r
11 void _PDCLIB_initclocale( locale_t l )\r
12 {\r
13     // TODO: There will be more added here...\r
14 \r
15     l->_WCType     = _PDCLIB_wcinfo;\r
16     l->_WCTypeSize = _PDCLIB_wcinfo_size;\r
17 }\r
18 \r
19 #endif\r
20 \r
21 #ifdef TEST\r
22 #include "_PDCLIB_test.h"\r
23 \r
24 int main()\r
25 {\r
26     return TEST_RESULTS;\r
27 }\r
28 \r
29 #endif