Mercurial > projects > ldc
view gen/runtime.h @ 974:815e1b8c6b00
Allow 'return exp;' for void main().
It's unfortunate that for main the llvm type and D type don't match up...
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 17 Feb 2009 18:53:15 +0100 |
parents | 0c77619e803b |
children |
line wrap: on
line source
// D runtime support helpers bool LLVM_D_InitRuntime(); void LLVM_D_FreeRuntime(); llvm::Function* LLVM_D_GetRuntimeFunction(llvm::Module* target, const char* name); llvm::GlobalVariable* LLVM_D_GetRuntimeGlobal(llvm::Module* target, const char* name);