mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-06-20 07:34:10 +02:00
Fixed: module info could potentially be masked by a previous reference, resulting in linking failure.
39 lines
488 B
D
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();
|
|
}
|