view lphobos/internal/contract.d @ 53:06ccc817acd4 trunk

[svn r57] Added most basic TypeInfo (rebuild lphobos). Fixed some SymOffExp bugs. Added another typeinfo test case.
author lindquist
date Tue, 23 Oct 2007 07:16:02 +0200
parents c53b6e3fe49a
children 61615fa85940
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);
        exit(1);
    }
}