summary refs log tree commit diff stats
path: root/lib/impure
diff options
context:
space:
mode:
authordef <dennis@felsin9.de>2016-02-11 22:45:03 +0100
committerdef <dennis@felsin9.de>2016-02-11 22:45:03 +0100
commit867285c5a9645679caf9614f2bf0ffce20d40ac5 (patch)
tree8e521b1cbd8df4053fb051121c47a7295f9744fd /lib/impure
parent31b233a5479ac54c96e4f72411e285175879b04f (diff)
downloadNim-867285c5a9645679caf9614f2bf0ffce20d40ac5.tar.gz
Rename THANDLE to Handle to fix deprecation warnings
Diffstat (limited to 'lib/impure')
-rw-r--r--lib/impure/rdstdin.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/rdstdin.nim b/lib/impure/rdstdin.nim
index 15137b436..469bb69c5 100644
--- a/lib/impure/rdstdin.nim
+++ b/lib/impure/rdstdin.nim
@@ -55,7 +55,7 @@ when defined(Windows):
       event*: KEY_EVENT_RECORD
       safetyBuffer: array[0..5, DWORD]
 
-  proc readConsoleInputW*(hConsoleInput: THANDLE, lpBuffer: var INPUTRECORD,
+  proc readConsoleInputW*(hConsoleInput: HANDLE, lpBuffer: var INPUTRECORD,
                           nLength: uint32,
                           lpNumberOfEventsRead: var uint32): WINBOOL{.
       stdcall, dynlib: "kernel32", importc: "ReadConsoleInputW".}