PageRenderTime 19ms CodeModel.GetById 12ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/runtime/common.d

http://github.com/wilkie/djehuty
D | 38 lines | 22 code | 8 blank | 8 comment | 0 complexity | a386e755fe71af3f05eb18e890721427 MD5 | raw file
 1/*
 2 * common.d
 3 *
 4 * This module contains any common definitions.
 5 *
 6 */
 7
 8module runtime.common;
 9
10extern(C):
11
12package {
13	struct aaA {
14		aaA* left;
15		aaA* right;
16		hash_t hash;
17		/* key */
18		/* value */
19	}
20
21	struct BB {
22		aaA*[] b;
23		size_t nodes;
24	}
25
26	struct AA {
27		BB* a;
28	}
29
30	enum BlkAttr : uint {
31		FINALIZE = 0b0000_0001,
32		NO_SCAN = 0b0000_0010,
33		NO_MOVE = 0b0000_0100,
34		ALL_BITS = 0b1111_1111
35	}
36}
37
38