Skip to content

Commit

Permalink
Merge pull request #75 from YaoGomez/fix-variadic-func-docs
Browse files Browse the repository at this point in the history
Fix variadic functions documentation examples (Issue 6115)
  • Loading branch information
andralex committed Feb 18, 2012
2 parents 07668bc + 6ba4db7 commit 9a8f8b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions function.dd
Original file line number Diff line number Diff line change
Expand Up @@ -837,11 +837,11 @@ int foo(int x, int y, ...) {
------

To protect against the vagaries of stack layouts on different
CPU architectures, use $(B std.c.stdarg) to access the variadic
CPU architectures, use $(B core.vararg) to access the variadic
arguments:

------
import $(B std.c.stdarg);
import $(B core.vararg);
------

<h3>D-style Variadic Functions</h3>
Expand Down

0 comments on commit 9a8f8b4

Please sign in to comment.