Skip to content

Commit

Permalink
Fix va_arg usage for GDC.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ludwig committed May 9, 2014
1 parent c66a5f9 commit d96f300
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/vibe/templ/diet.d
Expand Up @@ -84,12 +84,11 @@ void compileDietFileCompat(string template_file, TYPES_AND_NAMES...)(OutputStrea
compileDietFileCompatV!(template_file, TYPES_AND_NAMES)(stream__, _argptr, _arguments);
}
/// ditto
void compileDietFileCompatV(string template_file, TYPES_AND_NAMES...)(OutputStream stream__, void* _argptr, TypeInfo[] _arguments)
void compileDietFileCompatV(string template_file, TYPES_AND_NAMES...)(OutputStream stream__, va_list _argptr, TypeInfo[] _arguments)
{
// some imports to make available by default inside templates
import vibe.http.common;
import vibe.utils.string;
import core.vararg;

pragma(msg, "Compiling diet template '"~template_file~"' (compat)...");
//pragma(msg, localAliasesCompat!(0, TYPES_AND_NAMES));
Expand Down

0 comments on commit d96f300

Please sign in to comment.