fixup
This commit is contained in:
parent
af7d758cfc
commit
53147cc546
1 changed files with 1 additions and 1 deletions
|
|
@ -2419,7 +2419,7 @@ proc isHidden*(path: string): bool {.noNimScript.} =
|
||||||
let fileName = lastPathPart(path)
|
let fileName = lastPathPart(path)
|
||||||
result = len(fileName) >= 2 and fileName[0] == '.' and fileName != ".."
|
result = len(fileName) >= 2 and fileName[0] == '.' and fileName != ".."
|
||||||
|
|
||||||
proc processID*(): int =
|
proc processID*(): int {.noNimScript.} =
|
||||||
## return current process ID. See also ``osproc.processID(p: Process)``.
|
## return current process ID. See also ``osproc.processID(p: Process)``.
|
||||||
when defined(windows):
|
when defined(windows):
|
||||||
proc GetCurrentProcessId(): DWORD {.stdcall, dynlib: "kernel32",
|
proc GetCurrentProcessId(): DWORD {.stdcall, dynlib: "kernel32",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue