annotate dmd/LINK.d @ 191:52188e7e3fb5

Fixed deprecated features, now compiles with DMD2.058 Also changed Array allocation policy: Now doesn't reallocate but malloc's, followed by a memcpy (no free). (this fixes a crash while compiling druntime. Same bug in dmd)
author korDen@korDen-pc
date Sun, 25 Mar 2012 03:11:12 +0400
parents 10317f0c89a5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
1 module dmd.LINK;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
2
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
3 enum LINK
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
4 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
5 LINKdefault,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
6 LINKd,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7 LINKc,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
8 LINKcpp,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
9 LINKwindows,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
10 LINKpascal,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
11 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13 import dmd.EnumUtils;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
14 mixin(BringToCurrentScope!(LINK));