Files
wowdecomp/Engine/Source/Storm/Source/Win32/SCritSect.cpp
T
SatyandClaude Opus 5.5 299af1e188 Add the Win32 platform files missing from 8035c4b
.gitignore ignored every Win32/ folder (Visual Studio build output
pattern), so files created in the new source Win32/ folders were left
out of the platform-folder commit while the code they took was removed
from the generic files. Source Win32/ folders are now un-ignored.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-24 16:52:37 +02:00

36 lines
637 B
C++

#if defined(WOWDECOMP_ARCH_32)
#include "Engine/Source/Storm/H/SCritSect.h"
// INLINED
CCritSect::CCritSect() {
InitializeCriticalSection(&this->m_critsect);
}
// INLINED
CCritSect::~CCritSect() {
DeleteCriticalSection(&this->m_critsect);
}
// INLINED
void CCritSect::Enter() {
EnterCriticalSection(&this->m_critsect);
}
// INLINED
void CCritSect::Enter(int32_t forwriting) {
EnterCriticalSection(&this->m_critsect);
}
// INLINED
void CCritSect::Leave() {
LeaveCriticalSection(&this->m_critsect);
}
// INLINED
void CCritSect::Leave(int32_t fromwriting) {
LeaveCriticalSection(&this->m_critsect);
}
#endif