comparison dmd/STC.d @ 130:60bb0fe4563e

dmdfe 2.037 first main iteration
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Thu, 09 Sep 2010 22:51:44 +0100
parents 10317f0c89a5
children 206db751bd4c
comparison
equal deleted inserted replaced
129:010eb8f0e18d 130:60bb0fe4563e
1 module dmd.STC; 1 module dmd.STC;
2 2
3 enum STC 3 enum STC : long
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,
40 } 44 }
41 45
42 import dmd.EnumUtils; 46 import dmd.EnumUtils;
43 mixin(BringToCurrentScope!(STC)); 47 mixin(BringToCurrentScope!(STC));