mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 21:40:32 +00:00
fixup
This commit is contained in:
@@ -2419,7 +2419,7 @@ proc isHidden*(path: string): bool {.noNimScript.} =
|
||||
let fileName = lastPathPart(path)
|
||||
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)``.
|
||||
when defined(windows):
|
||||
proc GetCurrentProcessId(): DWORD {.stdcall, dynlib: "kernel32",
|
||||
|
||||
Reference in New Issue
Block a user