TryEnterCriticalSection prototype does not match Windows docs #70504
Labels
C-bug
Category: This is a bug.
O-windows
Operating system: Windows
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
According to this documentation, the return type of
TryEnterCriticalSection
isBOOL
(an alias fori32
), but in Rust we useBOOLEAN
(an alias foru8
):rust/src/libstd/sys/windows/c.rs
Line 781 in b9d5ee5
Which one is right?
The text was updated successfully, but these errors were encountered: