Goose  runtime.h at [3f9a7b5082]

File bs/builtins/types/runtime/runtime.h artifact 51d602dce1 part of check-in 3f9a7b5082


#ifndef EMPATHY_BUILTINS_TYPES_RUNTIME_H
#define EMPATHY_BUILTINS_TYPES_RUNTIME_H

#include "basic.h"
#include "pointer.h"
#include "array.h"
#include "struct.h"

namespace empathy::builtins
{
    extern void SetupRuntimeBasicTypes( Env& e );

    static inline void SetupRuntimeTypes( Env& e )
    {
        SetupRuntimeBasicTypes( e );
        SetupRuntimePointerType( e );
        SetupRuntimeArrayType( e );
        SetupRuntimeStructType( e );
    }

    extern bool IsRuntimeType( const Value& t );
    extern llvm::Type* GetLLVMType( const Value& t );
}

#endif