Mercurial > projects > ldc
comparison tango/tango/stdc/limits.d @ 132:1700239cab2e trunk
[svn r136] MAJOR UNSTABLE UPDATE!!!
Initial commit after moving to Tango instead of Phobos.
Lots of bugfixes...
This build is not suitable for most things.
author | lindquist |
---|---|
date | Fri, 11 Jan 2008 17:57:40 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
131:5825d48b27d1 | 132:1700239cab2e |
---|---|
1 /** | |
2 * D header file for C99. | |
3 * | |
4 * Copyright: Public Domain | |
5 * License: Public Domain | |
6 * Authors: Sean Kelly | |
7 * Standards: ISO/IEC 9899:1999 (E) | |
8 */ | |
9 module tango.stdc.limits; | |
10 | |
11 private import tango.stdc.config; | |
12 | |
13 extern (C): | |
14 | |
15 const CHAR_BIT = 8; | |
16 const SCHAR_MIN = byte.min; | |
17 const SCHAR_MAX = byte.max; | |
18 const UCHAR_MAX = ubyte.min; | |
19 const CHAR_MIN = char.max; | |
20 const CHAR_MAX = char.max; | |
21 const MB_LEN_MAX = 2; | |
22 const SHRT_MIN = short.min; | |
23 const SHRT_MAX = short.max; | |
24 const USHRT_MAX = ushort.max; | |
25 const INT_MIN = int.min; | |
26 const INT_MAX = int.max; | |
27 const UINT_MAX = uint.max; | |
28 const LONG_MIN = c_long.min; | |
29 const LONG_MAX = c_long.max; | |
30 const ULONG_MAX = c_ulong.max; | |
31 const LLONG_MIN = long.min; | |
32 const LLONG_MAX = long.max; | |
33 const ULLONG_MAX = ulong.max; |