Mercurial > projects > ldc
comparison dmd/declaration.h @ 1617:6820110de311
Merge DMD r301: a little refactor and harmonize
---
dmd/declaration.h | 1 +
dmd/func.c | 30 ++++++++++++++++++++++++++++++
dmd/mtype.c | 51 +++++++++++++++++++++++++++++++++++++--------------
3 files changed, 68 insertions(+), 14 deletions(-)
author | Leandro Lucarella <llucax@gmail.com> |
---|---|
date | Wed, 06 Jan 2010 15:18:21 -0300 |
parents | 207a8a438dea |
children | c61782a76dff |
comparison
equal
deleted
inserted
replaced
1616:c94049033c20 | 1617:6820110de311 |
---|---|
761 void toDocBuffer(OutBuffer *buf); | 761 void toDocBuffer(OutBuffer *buf); |
762 FuncDeclaration *isUnique(); | 762 FuncDeclaration *isUnique(); |
763 int needsClosure(); | 763 int needsClosure(); |
764 Statement *mergeFrequire(Statement *); | 764 Statement *mergeFrequire(Statement *); |
765 Statement *mergeFensure(Statement *); | 765 Statement *mergeFensure(Statement *); |
766 Parameters *getParameters(int *pvarargs); | |
766 | 767 |
767 // LDC: give argument types to runtime functions | 768 // LDC: give argument types to runtime functions |
768 static FuncDeclaration *genCfunc(Parameters *args, Type *treturn, const char *name); | 769 static FuncDeclaration *genCfunc(Parameters *args, Type *treturn, const char *name); |
769 static FuncDeclaration *genCfunc(Parameters *args, Type *treturn, Identifier *id); | 770 static FuncDeclaration *genCfunc(Parameters *args, Type *treturn, Identifier *id); |
770 | 771 |