Files
Nim/lib/pure
Tomohiro eea4ce0e2c changes FileHandle type on Windows (#24910)
On windows, `HANDLE` type values are converted to `syncio.FileHandle` in
`lib/std/syncio.nim`, `lib/pure/memfiles.nim` and `lib/pure/osproc.nim`.
`HANDLE` type is `void *` on Windows and its size is larger then `cint`.

https://learn.microsoft.com/en-us/windows/win32/winprog/windows-data-types

This PR change `syncio.FileHandle` type so that converting `HANDLE` type
to `syncio.FileHandle` doesn't lose bits.

We can keep `FileHandle` unchanged and change some of parameter/return
type from `FileHandle` to an type same size to `HANDLE`, but it is
breaking change.
2025-04-28 10:43:53 +02:00
..
2015-10-01 12:05:45 -07:00
2024-05-16 23:22:49 +02:00
2021-01-09 00:24:41 +01:00
2024-12-20 15:26:30 +01:00
2024-12-20 15:26:30 +01:00
2022-12-03 21:25:49 +08:00
2024-12-20 15:26:30 +01:00