12345678910111213141516171819202122232425262728 |
- #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
|