changhong_newclient/xcode/Libraries/libil2cpp/include/os/SynchronizationContext.h

19 lines
317 B
C
Raw Permalink Normal View History

2025-09-22 17:27:49 +08:00
#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);
};
}
}
#endif