132
|
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 }
|