Mercurial > projects > ldc
view lphobos/internal/contract.d @ 143:336ec4f4bbb3 trunk
[svn r147] tango.io.Console is now working. True this time :) Yay!
author | lindquist |
---|---|
date | Fri, 25 Jan 2008 01:42:36 +0100 |
parents | 61615fa85940 |
children | 373489eeaf90 |
line wrap: on
line source
module internal.contract; extern(C): void exit(int); void _d_assert(bool cond, uint line, char[] msg) { if (!cond) { printf("Aborted(%u): %.*s\n", line, msg.length, msg.ptr); exit(1); } }