Mercurial > projects > ldc
view gen/aa.h @ 896:fcab41e144c9
Makes sure only function definitions inside templates get weak linkage, llvm doesn't allow weak linkage on just declarations, so we use external linkage for those. Fixes #162
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Thu, 22 Jan 2009 17:26:50 +0100 |
parents | eef8ac26c66c |
children | 09734fb929c0 |
line wrap: on
line source
#ifndef LDC_GEN_AA_H #define LDC_GEN_AA_H DValue* DtoAAIndex(Loc& loc, Type* type, DValue* aa, DValue* key, bool lvalue); DValue* DtoAAIn(Loc& loc, Type* type, DValue* aa, DValue* key); void DtoAARemove(Loc& loc, DValue* aa, DValue* key); #endif // LDC_GEN_AA_H