mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-08 20:06:03 +03:00

Split up declaration, constant initializer gen and definition for globals, structs, classes and functions. Improved ClassInfo support (not complete), not in vtable yet. Fixed a bunch of forward reference problems. Much more. Major commit! :)
12 lines
347 B
C
12 lines
347 B
C
#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 DtoDeclareFunction(FuncDeclaration* fdecl);
|
|
void DtoDefineFunc(FuncDeclaration* fd);
|
|
|
|
void DtoMain();
|
|
|
|
#endif
|