Files
ldc/tango/tango/core/Runtime.di
Tomas Lindquist Olsen fa30c42921 [svn r200] Fixed: removed use of std.intrinsic.
Fixed: module info could potentially be masked by a previous reference, resulting in linking failure.
2008-05-07 22:01:59 +02:00

39 lines
488 B
D

// D import file generated from 'core/Runtime.d'
module tango.core.Runtime;
private
{
extern (C)
{
bool rt_isHalting();
}
alias bool function() 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();
}