comparison dmd/Util.d @ 177:1475fd394c9e

bug fixes
author korDen
date Sun, 10 Oct 2010 10:38:55 +0400
parents 94b6033c07f3
children e3afd1303184
comparison
equal deleted inserted replaced
176:fa9a71a9f5a8 177:1475fd394c9e
1137 } else { 1137 } else {
1138 static assert(false); 1138 static assert(false);
1139 } 1139 }
1140 } 1140 }
1141 } 1141 }
1142 1142 /*
1143 extern(C++) void util_assert(char* file,int line) 1143 extern(C++) void util_assert(char* file,int line)
1144 { 1144 {
1145 fflush(stdout); 1145 fflush(stdout);
1146 printf("Internal error: %s %d\n",file,line); 1146 printf("Internal error: %s %d\n",file,line);
1147 throw new Exception("Internal error"); 1147 throw new Exception("Internal error");
1175 1175
1176 void* mem_fcalloc(uint size) 1176 void* mem_fcalloc(uint size)
1177 { 1177 {
1178 return mem_calloc(size); 1178 return mem_calloc(size);
1179 } 1179 }
1180 } 1180 }*/