mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-14 13:10:40 +00:00
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user