Mercurial > projects > ddmd
comparison dmd/InterfaceDeclaration.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 |
---|---|
30 import dmd.backend.SC; | 30 import dmd.backend.SC; |
31 import dmd.backend.FL; | 31 import dmd.backend.FL; |
32 import dmd.backend.LIST; | 32 import dmd.backend.LIST; |
33 import dmd.backend.SFL; | 33 import dmd.backend.SFL; |
34 | 34 |
35 import dmd.DDMDExtensions; | |
36 | |
35 class InterfaceDeclaration : ClassDeclaration | 37 class InterfaceDeclaration : ClassDeclaration |
36 { | 38 { |
39 mixin insertMemberExtension!(typeof(this)); | |
40 | |
37 version (DMDV2) { | 41 version (DMDV2) { |
38 bool cpp; // true if this is a C++ interface | 42 bool cpp; // true if this is a C++ interface |
39 } | 43 } |
40 this(Loc loc, Identifier id, BaseClasses baseclasses) | 44 this(Loc loc, Identifier id, BaseClasses baseclasses) |
41 { | 45 { |