comparison dmd/class.c @ 875:330f999ade44

Merged DMD 1.038
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Tue, 06 Jan 2009 16:33:51 +0100
parents 69a5e4a6fc0f
children b30fe7e1dbb9
comparison
equal deleted inserted replaced
874:2ddee23bd70e 875:330f999ade44
537 STCabstract | STCdeprecated); 537 STCabstract | STCdeprecated);
538 sc->parent = this; 538 sc->parent = this;
539 sc->inunion = 0; 539 sc->inunion = 0;
540 540
541 if (isCOMclass()) 541 if (isCOMclass())
542 {
543 #if _WIN32
542 sc->linkage = LINKwindows; 544 sc->linkage = LINKwindows;
545 #else
546 /* This enables us to use COM objects under Linux and
547 * work with things like XPCOM
548 */
549 sc->linkage = LINKc;
550 #endif
551 }
543 sc->protection = PROTpublic; 552 sc->protection = PROTpublic;
544 sc->explicitProtection = 0; 553 sc->explicitProtection = 0;
545 sc->structalign = 8; 554 sc->structalign = 8;
546 structalign = sc->structalign; 555 structalign = sc->structalign;
547 if (baseClass) 556 if (baseClass)