comparison dstep/internal/Types.d @ 1:033d260cfc9b

First upload of the bridge
author Jacob Carlborg <doob@me.com>
date Thu, 18 Jun 2009 22:00:13 +0200
parents
children 19885b43130e
comparison
equal deleted inserted replaced
0:c7db221de6e8 1:033d260cfc9b
1 /**
2 * Copyright: Copyright (c) 2009 Jacob Carlborg.
3 * Authors: Jacob Carlborg
4 * Version: Initial created: Feb 1, 2009
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
6 */
7 module dstep.internal.Types;
8
9 import dstep.internal.Version;
10
11 version (Windows)
12 {
13 alias int c_long;
14 alias uint c_ulong;
15 }
16
17 else
18 {
19 static if (D_LP64)
20 {
21 alias long c_long;
22 alias ulong c_ulong;
23 }
24
25 else
26 {
27 alias int c_long;
28 alias uint c_ulong;
29 }
30 }