view tango/tango/core/Runtime.di @ 341:1bb99290e03a trunk

[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author lindquist
date Sun, 13 Jul 2008 02:51:19 +0200
parents f5ca6bbbf1d7
children
line wrap: on
line source

// 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();
}