view 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 source

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