Mercurial > projects > ldc
comparison tango/tango/core/Runtime.di @ 132:1700239cab2e trunk
[svn r136] MAJOR UNSTABLE UPDATE!!!
Initial commit after moving to Tango instead of Phobos.
Lots of bugfixes...
This build is not suitable for most things.
author | lindquist |
---|---|
date | Fri, 11 Jan 2008 17:57:40 +0100 |
parents | |
children | f5ca6bbbf1d7 |
comparison
equal
deleted
inserted
replaced
131:5825d48b27d1 | 132:1700239cab2e |
---|---|
1 // D import file generated from 'core/Runtime.d' | |
2 module tango.core.Runtime; | |
3 private | |
4 { | |
5 extern (C) | |
6 { | |
7 bool rt_isHalting(); | |
8 } | |
9 alias bool(* moduleUnitTesterType)(); | |
10 } | |
11 struct Runtime | |
12 { | |
13 static | |
14 { | |
15 bool isHalting() | |
16 { | |
17 return rt_isHalting(); | |
18 } | |
19 } | |
20 static | |
21 { | |
22 void moduleUnitTester(moduleUnitTesterType h) | |
23 { | |
24 sm_moduleUnitTester = h; | |
25 } | |
26 } | |
27 private | |
28 { | |
29 static | |
30 { | |
31 moduleUnitTesterType sm_moduleUnitTester = null; | |
32 } | |
33 } | |
34 } | |
35 extern (C) | |
36 { | |
37 bool runModuleUnitTests(); | |
38 } |