LearnWithTouch/App/LearnWithTouch_ios/Libraries/libil2cpp/include/os/c-api/Thread-c-api.h
2019-07-01 14:33:21 +02:00

28 lines
409 B
C

#pragma once
#include <stdint.h>
#if defined(__cplusplus)
#include "os/Thread.h"
typedef il2cpp::os::Thread::ThreadId UnityPalThreadId;
#else
typedef uint64_t UnityPalThreadId;
#endif //__cplusplus
#if defined(__cplusplus)
extern "C"
{
#endif
void UnityPalThreadInitialize();
void UnityPalSleep(uint32_t milliseconds);
UnityPalThreadId UnityPalGetCurrentThreadId();
#if defined(__cplusplus)
}
#endif