Mercurial > projects > ddmd
comparison dmd/TypeStruct.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 |
---|---|
58 import dmd.backend.SC; | 58 import dmd.backend.SC; |
59 import dmd.backend.LIST; | 59 import dmd.backend.LIST; |
60 | 60 |
61 import std.string : toStringz; | 61 import std.string : toStringz; |
62 | 62 |
63 import dmd.DDMDExtensions; | |
64 | |
63 class TypeStruct : Type | 65 class TypeStruct : Type |
64 { | 66 { |
67 mixin insertMemberExtension!(typeof(this)); | |
68 | |
65 StructDeclaration sym; | 69 StructDeclaration sym; |
66 | 70 |
67 this(StructDeclaration sym) | 71 this(StructDeclaration sym) |
68 { | 72 { |
69 register(); | 73 register(); |