summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/os.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim
index 143a62beb..1f5e63528 100644
--- a/lib/pure/os.nim
+++ b/lib/pure/os.nim
@@ -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",