comparison lphobos/std/outofmemory.d @ 662:88e23f8c2354

Applied downs' latest Phobos patch
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Mon, 06 Oct 2008 21:40:33 +0200
parents ccca1c13e13a
children
comparison
equal deleted inserted replaced
661:99f32e967746 662:88e23f8c2354
31 } 31 }
32 } 32 }
33 33
34 extern (C) void _d_OutOfMemory() 34 extern (C) void _d_OutOfMemory()
35 { 35 {
36 assert(0); 36 printf("Out of memory!\n");
37 /*throw cast(OutOfMemoryException) 37 *(cast(int*) 0) = 0;
38 throw cast(OutOfMemoryException)
38 cast(void *) 39 cast(void *)
39 OutOfMemoryException.classinfo.init;*/ 40 OutOfMemoryException.classinfo.init;
40 } 41 }
41 42
42 static this() 43 static this()
43 { 44 {
44 } 45 }