parent
49b28f1997
commit
b447ff7860
1 changed files with 1 additions and 1 deletions
|
|
@ -1079,7 +1079,7 @@ when defined(windows) and not weirdTarget:
|
||||||
template findNextFile(a, b: untyped): untyped = findNextFileA(a, b)
|
template findNextFile(a, b: untyped): untyped = findNextFileA(a, b)
|
||||||
template getCommandLine(): untyped = getCommandLineA()
|
template getCommandLine(): untyped = getCommandLineA()
|
||||||
|
|
||||||
template getFilename(f: untyped): untyped = $f.cFileName
|
template getFilename(f: untyped): untyped = $cstring(addr f.cFileName)
|
||||||
|
|
||||||
proc skipFindData(f: WIN32_FIND_DATA): bool {.inline.} =
|
proc skipFindData(f: WIN32_FIND_DATA): bool {.inline.} =
|
||||||
# Note - takes advantage of null delimiter in the cstring
|
# Note - takes advantage of null delimiter in the cstring
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue