comparison dmd/STC.d @ 131:206db751bd4c

dmdfe 2.037 compiles now
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Fri, 10 Sep 2010 00:27:37 +0100
parents 60bb0fe4563e
children af1bebfd96a4
comparison
equal deleted inserted replaced
130:60bb0fe4563e 131:206db751bd4c
1 module dmd.STC; 1 module dmd.STC;
2 2
3 enum STC : long 3 enum STC
4 { 4 {
5 STCundefined = 0, 5 STCundefined = 0,
6 STCstatic = 1, 6 STCstatic = 1,
7 STCextern = 2, 7 STCextern = 2,
8 STCconst = 4, 8 STCconst = 4,
35 STCalias = 0x10000000, // alias parameter 35 STCalias = 0x10000000, // alias parameter
36 STCshared = 0x20000000, // accessible from multiple threads 36 STCshared = 0x20000000, // accessible from multiple threads
37 STCgshared = 0x40000000, // accessible from multiple threads 37 STCgshared = 0x40000000, // accessible from multiple threads
38 // but not typed as "shared" 38 // but not typed as "shared"
39 STC_TYPECTOR = (STCconst | STCimmutable | STCshared), 39 STC_TYPECTOR = (STCconst | STCimmutable | STCshared),
40 STCproperty = 0x100000000,
41 STCsafe = 0x200000000,
42 STCtrusted = 0x400000000,
43 STCsystem = 0x800000000,
44 } 40 }
45 41
46 import dmd.EnumUtils; 42 import dmd.EnumUtils;
47 mixin(BringToCurrentScope!(STC)); 43 mixin(BringToCurrentScope!(STC));
44
45 enum STCproperty = 0x100000000;
46 enum STCsafe = 0x200000000;
47 enum STCtrusted = 0x400000000;
48 enum STCsystem = 0x800000000;
49
50 alias ulong StorageClass;