windows.nim is gcsafe
This commit is contained in:
parent
f8235cbe2e
commit
f98b4d5c0f
1 changed files with 6 additions and 4 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
## Unicode version.
|
## Unicode version.
|
||||||
|
|
||||||
{.deadCodeElim: on.}
|
{.deadCodeElim: on.}
|
||||||
|
{.push gcsafe.}
|
||||||
type
|
type
|
||||||
WideChar* = uint16
|
WideChar* = uint16
|
||||||
PWideChar* = ptr uint16
|
PWideChar* = ptr uint16
|
||||||
|
|
@ -23924,3 +23924,5 @@ proc LOCALE_NEUTRAL(): DWORD =
|
||||||
|
|
||||||
proc LOCALE_INVARIANT(): DWORD =
|
proc LOCALE_INVARIANT(): DWORD =
|
||||||
result = MAKELCID(MAKELANGID(toU16(LANG_INVARIANT), SUBLANG_NEUTRAL), SORT_DEFAULT)
|
result = MAKELCID(MAKELANGID(toU16(LANG_INVARIANT), SUBLANG_NEUTRAL), SORT_DEFAULT)
|
||||||
|
|
||||||
|
{.pop.}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue