Mercurial > projects > dwt-linux
diff dwt/dwthelper/utils.d @ 12:0c78fa47d476
helper classes
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 06 Jan 2008 19:36:29 +0100 |
parents | |
children | fc2b263b8a3f |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dwt/dwthelper/utils.d Sun Jan 06 19:36:29 2008 +0100 @@ -0,0 +1,14 @@ +/** + * Authors: Frank Benoit <keinfarbton@googlemail.com> + */ +module dwt.dwthelper.utils; + +import tango.io.Stdout; +import tango.stdc.stdlib : exit; + +void implMissing( char[] file, uint line ){ + Stderr.formatln( "implementation missing in file {} line {}", file, line ); + Stderr.formatln( "exiting ..." ); + exit(1); +} +