comparison dstep/coreservices/carboncore/ToolUtils.d @ 11:07194b026fa4

Added bindings to a couple of frameworks, new license + some other things
author Jacob Carlborg <doob@me.com>
date Sat, 01 Aug 2009 15:03:28 +0200
parents
children
comparison
equal deleted inserted replaced
10:27e00625790b 11:07194b026fa4
1 /**
2 * Copyright: Copyright (c) 2009 Jacob Carlborg.
3 * Authors: Jacob Carlborg
4 * Version: Initial created: Jul 21, 2009
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
6 */
7 module dstep.coreservices.carboncore.ToolUtils;
8
9 //import dstep.AvailabilityMacros;
10 import dstep.coreservices.carboncore.MacTypes;
11
12 extern (C)
13 {
14 ubyte BitTst (void* bytePtr, int bitNum);
15 void BitSet (void* bytePtr, int bitNum);
16 void BitClr (void* bytePtr, int bitNum);
17 int BitAnd (int value1, int value2);
18 int BitOr (int value1, int value2);
19 int BitXor (int value1, int value2);
20 int BitNot (int value);
21 int BitShift (int value, short count);
22 }