Mercurial > projects > ldc
comparison druntime/import/stdc/stddef.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.stddef; | |
10 | |
11 extern (C): | |
12 | |
13 //alias typeof(int.sizeof) size_t; | |
14 //alias typeof(cast(void*)0 - cast(void*)0) ptrdiff_t; | |
15 | |
16 version( Windows ) | |
17 { | |
18 alias wchar wint_t; | |
19 alias wchar wchar_t; | |
20 alias wchar wctype_t; | |
21 alias wchar wctrans_t; | |
22 | |
23 const wchar WEOF = 0xFFFF; | |
24 } | |
25 else | |
26 { | |
27 alias dchar wint_t; | |
28 alias dchar wchar_t; | |
29 alias dchar wctype_t; | |
30 alias dchar wctrans_t; | |
31 | |
32 const dchar WEOF = 0xFFFF; | |
33 } |