doc generation for asyncdispatch works

This commit is contained in:
Araq 2014-04-06 19:36:29 +02:00
commit a4ccd7b865
3 changed files with 32 additions and 29 deletions

View file

@ -176,9 +176,10 @@ proc rawEchoNL() {.inline, compilerproc.} = write(stdout, "\n")
# interface to the C procs:
when defined(windows) and not defined(useWinAnsi):
when (defined(windows) and not defined(useWinAnsi)) or defined(nimdoc):
include "system/widestrs"
when defined(windows) and not defined(useWinAnsi):
proc wfopen(filename, mode: WideCString): pointer {.
importc: "_wfopen", nodecl.}
proc wfreopen(filename, mode: WideCString, stream: TFile): TFile {.