view gen/functions.h @ 111:a7ae554ce4f4 trunk

[svn r115] Implemented the ClassInfo.defaultConstructor member.
author lindquist
date Thu, 22 Nov 2007 21:17:54 +0100
parents 027b8d8b71ec
children 56a21f3e5d3e
line wrap: on
line source

#ifndef LLVMDC_GEN_FUNCTIONS_H
#define LLVMDC_GEN_FUNCTIONS_H

const llvm::FunctionType* DtoFunctionType(Type* t, const llvm::Type* thistype, bool ismain = false);
const llvm::FunctionType* DtoFunctionType(FuncDeclaration* fdecl);

void DtoResolveFunction(FuncDeclaration* fdecl);
void DtoDeclareFunction(FuncDeclaration* fdecl);
void DtoDefineFunc(FuncDeclaration* fd);

void DtoMain();

#endif