123456789101112131415161718192021222324 |
- #include "il2cpp-config.h"
- #include "os/c-api/il2cpp-config-platforms.h"
- #if !RUNTIME_TINY
- #include "os/Locale.h"
- #include "Allocator.h"
- #include <string>
- extern "C"
- {
- void UnityPalLocaleInitialize()
- {
- il2cpp::os::Locale::Initialize();
- }
- char* UnityPalGetLocale()
- {
- return Allocator::CopyToAllocatedStringBuffer(il2cpp::os::Locale::GetLocale());
- }
- }
- #endif
|