Mercurial > projects > ldc
view lphobos/internal/contract.d @ 195:8baa9b0138e2 trunk
[svn r211] Added readme in phobos dir.
author | lindquist |
---|---|
date | Mon, 12 May 2008 19:08:22 +0200 |
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); } }