Mercurial > projects > ldc
comparison druntime/import/stdc/limits.d @ 760:6f33b427bfd1
Seems like hg ignores .di files, so I missed a bunch of stuff. complete druntime should be there now :)
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 12 Nov 2008 00:19:18 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
759:d3eb054172f9 | 760:6f33b427bfd1 |
---|---|
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 stdc.limits; | |
10 | |
11 private import 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; |