Badminton-Scoreboard/Libraries/libil2cpp/include/os/SynchronizationContext.h
2023-10-08 10:24:48 +08:00

22 lines
384 B
C++

#pragma once
#if IL2CPP_HAS_OS_SYNCHRONIZATION_CONTEXT
namespace il2cpp
{
namespace os
{
class SynchronizationContext
{
public:
static Il2CppObject* GetForCurrentThread();
static void Post(Il2CppObject* context, SynchronizationContextCallback callback, intptr_t arg);
static void Initialize();
static void Shutdown();
};
}
}
#endif