Mercurial > projects > dstep
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dstep/internal/Types.d Thu Jun 18 22:00:13 2009 +0200 @@ -0,0 +1,30 @@ +/** + * Copyright: Copyright (c) 2009 Jacob Carlborg. + * Authors: Jacob Carlborg + * Version: Initial created: Feb 1, 2009 + * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) + */ +module dstep.internal.Types; + +import dstep.internal.Version; + +version (Windows) +{ + alias int c_long; + alias uint c_ulong; +} + +else +{ + static if (D_LP64) + { + alias long c_long; + alias ulong c_ulong; + } + + else + { + alias int c_long; + alias uint c_ulong; + } +} \ No newline at end of file