view gen/typeinf.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 450897f5aae9
line wrap: on
line source

#ifndef LDC_GEN_TYPEINF_H
#define LDC_GEN_TYPEINF_H

void DtoResolveTypeInfo(TypeInfoDeclaration* tid);
void DtoDeclareTypeInfo(TypeInfoDeclaration* tid);
void DtoConstInitTypeInfo(TypeInfoDeclaration* tid);
void DtoDefineTypeInfo(TypeInfoDeclaration* tid);

#endif