Mercurial > projects > ddmd
comparison dmd/TypeInfoDeclaration.d @ 187:b0d41ff5e0df
Added expandability scheme outlined in http://www.dsource.org/forums/viewtopic.php?t=5659&sid=6f2150ff5b0bffcd47512a6a7608d218
author | Abscissa |
---|---|
date | Tue, 07 Jun 2011 23:37:34 -0400 |
parents | e3afd1303184 |
children |
comparison
equal
deleted
inserted
replaced
186:1a0c1126bc46 | 187:b0d41ff5e0df |
---|---|
22 import dmd.backend.Util; | 22 import dmd.backend.Util; |
23 import dmd.backend.TYPE; | 23 import dmd.backend.TYPE; |
24 | 24 |
25 import core.stdc.stdio; | 25 import core.stdc.stdio; |
26 | 26 |
27 import dmd.DDMDExtensions; | |
28 | |
27 class TypeInfoDeclaration : VarDeclaration | 29 class TypeInfoDeclaration : VarDeclaration |
28 { | 30 { |
31 mixin insertMemberExtension!(typeof(this)); | |
32 | |
29 Type tinfo; | 33 Type tinfo; |
30 | 34 |
31 this(Type tinfo, int internal) | 35 this(Type tinfo, int internal) |
32 { | 36 { |
33 register(); | 37 register(); |