#include "./PlatformThread.h" namespace zz { int OSThread::GetThreadLocalInt(LocalStorageKey key) { return static_cast(reinterpret_cast(GetThreadLocal(key))); } void OSThread::SetThreadLocalInt(LocalStorageKey key, int value) { SetThreadLocal(key, reinterpret_cast(static_cast(value))); } bool OSThread::HasThreadLocal(LocalStorageKey key) { return GetThreadLocal(key) != nullptr; } void *OSThread::GetExistingThreadLocal(LocalStorageKey key) { return GetThreadLocal(key); } } // namespace zz