Mercurial > projects > ldc
comparison dmd/mtype.h @ 162:1856c62af24b trunk
[svn r178] Fixed codegen values for function arguments, the old approach was completely broken, amazing it even worked...
author | lindquist |
---|---|
date | Mon, 05 May 2008 00:56:53 +0200 |
parents | 5acec6b2eef8 |
children | db9890b3fb64 |
comparison
equal
deleted
inserted
replaced
161:3a891cfcd249 | 162:1856c62af24b |
---|---|
672 static char *argsTypesToChars(Arguments *args, int varargs); | 672 static char *argsTypesToChars(Arguments *args, int varargs); |
673 static void argsToCBuffer(OutBuffer *buf, HdrGenState *hgs, Arguments *arguments, int varargs); | 673 static void argsToCBuffer(OutBuffer *buf, HdrGenState *hgs, Arguments *arguments, int varargs); |
674 static void argsToDecoBuffer(OutBuffer *buf, Arguments *arguments); | 674 static void argsToDecoBuffer(OutBuffer *buf, Arguments *arguments); |
675 static size_t dim(Arguments *arguments); | 675 static size_t dim(Arguments *arguments); |
676 static Argument *getNth(Arguments *arguments, size_t nth, size_t *pn = NULL); | 676 static Argument *getNth(Arguments *arguments, size_t nth, size_t *pn = NULL); |
677 | |
678 // backend | |
679 VarDeclaration* vardecl; | |
680 }; | 677 }; |
681 | 678 |
682 extern int PTRSIZE; | 679 extern int PTRSIZE; |
683 extern int REALSIZE; | 680 extern int REALSIZE; |
684 extern int REALPAD; | 681 extern int REALPAD; |