view tango/tango/core/Runtime.di @ 353:a7a26f538d6e trunk

[svn r374] Move label target basic block from AST to IRFunction. This is a first step to allowing labels to be emitted multiple times. (for instance within finally blocks)
author ChristianK
date Mon, 14 Jul 2008 11:07:15 +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();
}