Mercurial > projects > ldc
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tango/tango/core/Runtime.di Fri Jan 11 17:57:40 2008 +0100 @@ -0,0 +1,38 @@ +// D import file generated from 'core/Runtime.d' +module tango.core.Runtime; +private +{ + extern (C) +{ + bool rt_isHalting(); +} + alias bool(* moduleUnitTesterType)(); +} +struct Runtime +{ + static +{ + bool isHalting() +{ +return rt_isHalting(); +} +} + static +{ + void moduleUnitTester(moduleUnitTesterType h) +{ +sm_moduleUnitTester = h; +} +} + private +{ + static +{ + moduleUnitTesterType sm_moduleUnitTester = null; +} +} +} +extern (C) +{ + bool runModuleUnitTests(); +}