Fixed THINSTANCE declaration in dynlib.nim for VS compiler
This commit is contained in:
parent
7177e0058b
commit
2693179834
1 changed files with 2 additions and 1 deletions
|
|
@ -79,7 +79,8 @@ elif defined(windows) or defined(dos):
|
||||||
# =======================================================================
|
# =======================================================================
|
||||||
#
|
#
|
||||||
type
|
type
|
||||||
THINSTANCE {.importc: "HINSTANCE".} = pointer
|
THINSTANCE {.importc: "HINSTANCE".} = object
|
||||||
|
x: pointer
|
||||||
|
|
||||||
proc FreeLibrary(lib: THINSTANCE) {.importc, header: "<windows.h>", stdcall.}
|
proc FreeLibrary(lib: THINSTANCE) {.importc, header: "<windows.h>", stdcall.}
|
||||||
proc winLoadLibrary(path: cstring): THINSTANCE {.
|
proc winLoadLibrary(path: cstring): THINSTANCE {.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue