Skip to content

Commit

Permalink
Merge pull request #1948 from CyberShadow/std-stdio-handle-doc
Browse files Browse the repository at this point in the history
std.stdio: Fix generating documentation on POSIX
  • Loading branch information
AndrejMitrovic committed Feb 17, 2014
2 parents fe532ec + f27c0f9 commit ed72242
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions std/stdio.d
Expand Up @@ -455,6 +455,10 @@ Throws: $(D ErrnoException) in case of error.
this = File(fp, name);
}

// Declare a dummy HANDLE to allow generating documentation
// for Windows-only methods.
version(StdDdoc) version(Windows) {} else alias HANDLE = int;

/**
First calls $(D detach) (throwing on failure), and then attempts to
associate the given Windows $(D HANDLE) with the $(D File). The mode must
Expand Down

0 comments on commit ed72242

Please sign in to comment.