Mercurial > projects > ddmd
diff dmd/TypeInfoFunctionDeclaration.d @ 174:af724d3510d7
lot os toCBuffer methods implemented
moved shared Type.* stuff into Global
author | korDen |
---|---|
date | Sun, 10 Oct 2010 03:47:23 +0400 |
parents | 010eb8f0e18d |
children | e3afd1303184 |
line wrap: on
line diff
--- a/dmd/TypeInfoFunctionDeclaration.d Sun Oct 10 01:55:35 2010 +0400 +++ b/dmd/TypeInfoFunctionDeclaration.d Sun Oct 10 03:47:23 2010 +0400 @@ -2,6 +2,7 @@ import dmd.common; import dmd.Type; +import dmd.Global; import dmd.TypeInfoDeclaration; import dmd.TypeFunction; import dmd.TY; @@ -15,13 +16,13 @@ this(Type tinfo) { super(tinfo, 0); - type = Type.typeinfofunction.type; + type = global.typeinfofunction.type; } override void toDt(dt_t** pdt) { //printf("TypeInfoFunctionDeclaration.toDt()\n"); - dtxoff(pdt, Type.typeinfofunction.toVtblSymbol(), 0, TYnptr); // vtbl for TypeInfo_Function + dtxoff(pdt, global.typeinfofunction.toVtblSymbol(), 0, TYnptr); // vtbl for TypeInfo_Function dtdword(pdt, 0); // monitor assert(tinfo.ty == Tfunction);