Fixed THINSTANCE declaration in dynlib.nim for VS compiler

This commit is contained in:
Konstantin Zaitsev
2016-02-25 15:03:02 +06:00
parent 7177e0058b
commit 2693179834

View File

@@ -79,7 +79,8 @@ elif defined(windows) or defined(dos):
# =======================================================================
#
type
THINSTANCE {.importc: "HINSTANCE".} = pointer
THINSTANCE {.importc: "HINSTANCE".} = object
x: pointer
proc FreeLibrary(lib: THINSTANCE) {.importc, header: "<windows.h>", stdcall.}
proc winLoadLibrary(path: cstring): THINSTANCE {.