From 867285c5a9645679caf9614f2bf0ffce20d40ac5 Mon Sep 17 00:00:00 2001 From: def Date: Thu, 11 Feb 2016 22:45:03 +0100 Subject: Rename THANDLE to Handle to fix deprecation warnings --- lib/impure/rdstdin.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/impure') 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".} -- cgit 1.4.1-2-gfad0