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

29 lines
662 B
C

#pragma once
#include "os/c-api/Error-c-api.h"
#if defined(__cplusplus)
#include "os/ThreadLocalValue.h"
typedef il2cpp::os::ThreadLocalValue UnityPalThreadLocalValue;
#else
typedef struct UnityPalThreadLocalValue UnityPalThreadLocalValue;
#endif
#if defined(__cplusplus)
extern "C"
{
#endif
UnityPalThreadLocalValue* UnityPalThreadLocalValueNew();
void UnityPalThreadLocalValueDelete(UnityPalThreadLocalValue* object);
UnityPalErrorCode UnityPalThreadLocalValueSetValue(UnityPalThreadLocalValue* object, void* value);
UnityPalErrorCode UnityPalThreadLocalValueGetValue(UnityPalThreadLocalValue* object, void** value);
#if defined(__cplusplus)
}
#endif