System/Log (16 functions) and Thread::WaitForever. Storm SComp review: ImaAdpcmCompress size compares are signed as in 12340. AllocSTL_raw and CCritSect members marked INLINED; SSyncObject ctor out of the header. Platform layout: Windows API code lives in <dir>/Win32/ (whole file in #if WOWDECOMP_ARCH_32) with full copies in <dir>/Win64/ (ARCH_64); no _M_X64 blocks inside files. Former W32/ and *_Win32.cpp files moved, their headers are generic now. Win32 API calls moved out of generic File/Log/Thread/Unicode/SCmd files; Storm SErr/SLog/SReg/SMsg moved whole. CODING_RULES section 7, PORTING_64BIT "Platform folders". Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
12 lines
235 B
C++
12 lines
235 B
C++
#ifndef ENGINE_SOURCE_OS_TLS_H
|
|
#define ENGINE_SOURCE_OS_TLS_H
|
|
|
|
#include <cstdint>
|
|
|
|
uint32_t OsTlsAlloc();
|
|
void OsTlsFree(uint32_t index);
|
|
void* OsTlsGetValue(uint32_t index);
|
|
int32_t OsTlsSetValue(uint32_t index, void* value);
|
|
|
|
#endif
|