view tango/tango/core/Runtime.di @ 356:44daf304421c trunk

[svn r377] The previous check was too strict, it completely disallowed gotos within finally blocks. This reenables them as long as they don't cross a finally boundary.
author ChristianK
date Mon, 14 Jul 2008 12:00:24 +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();
}