Merge pull request #3903 from kosz78/devel
Fixed THINSTANCE declaration in dynlib.nim for VS compiler
This commit is contained in:
commit
267a2756e4
1 changed files with 7 additions and 2 deletions
|
|
@ -78,6 +78,11 @@ elif defined(windows) or defined(dos):
|
||||||
# Native Windows Implementation
|
# Native Windows Implementation
|
||||||
# =======================================================================
|
# =======================================================================
|
||||||
#
|
#
|
||||||
|
when defined(cpp):
|
||||||
|
type
|
||||||
|
THINSTANCE {.importc: "HINSTANCE".} = object
|
||||||
|
x: pointer
|
||||||
|
else:
|
||||||
type
|
type
|
||||||
THINSTANCE {.importc: "HINSTANCE".} = pointer
|
THINSTANCE {.importc: "HINSTANCE".} = pointer
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue