comparison dmd/mtype.c @ 658:50383e476c7e

Upgraded frontend to DMD 1.035
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Mon, 06 Oct 2008 16:22:11 +0200
parents 307ae566885f
children eef8ac26c66c
comparison
equal deleted inserted replaced
657:c42173b3557b 658:50383e476c7e
787 787
788 /* ============================= TypeBasic =========================== */ 788 /* ============================= TypeBasic =========================== */
789 789
790 TypeBasic::TypeBasic(TY ty) 790 TypeBasic::TypeBasic(TY ty)
791 : Type(ty, NULL) 791 : Type(ty, NULL)
792 { char *c; 792 { const char *c;
793 char *d; 793 const char *d;
794 unsigned flags; 794 unsigned flags;
795 795
796 #define TFLAGSintegral 1 796 #define TFLAGSintegral 1
797 #define TFLAGSfloating 2 797 #define TFLAGSfloating 2
798 #define TFLAGSunsigned 4 798 #define TFLAGSunsigned 4
933 } 933 }
934 934
935 935
936 char *TypeBasic::toChars() 936 char *TypeBasic::toChars()
937 { 937 {
938 return dstring; 938 return (char *)dstring;
939 } 939 }
940 940
941 void TypeBasic::toCBuffer2(OutBuffer *buf, HdrGenState *hgs, int mod) 941 void TypeBasic::toCBuffer2(OutBuffer *buf, HdrGenState *hgs, int mod)
942 { 942 {
943 //printf("TypeBasic::toCBuffer2(mod = %d, this->mod = %d)\n", mod, this->mod); 943 //printf("TypeBasic::toCBuffer2(mod = %d, this->mod = %d)\n", mod, this->mod);