iOS build fixes

This commit is contained in:
Joshua Granick
2018-07-24 08:49:00 -07:00
parent 196baacf1f
commit 0d6b0a1868
2 changed files with 24 additions and 0 deletions

View File

@@ -233,8 +233,10 @@ typedef uint16_t uchar;
#if defined(HL_IOS) || defined(HL_TVOS) || defined(HL_MAC)
#include <stddef.h>
#include <stdint.h>
#ifdef HL_MAC
typedef uint16_t char16_t;
typedef uint32_t char32_t;
#endif
#elif defined(HL_NATIVE_UCHAR_FUN)
# include <uchar.h>
#elif __cplusplus <= 199711L

View File

@@ -9,6 +9,28 @@
namespace lime {
void System::GCEnterBlocking () {
// if (!_isHL) {
gc_enter_blocking ();
// }
}
void System::GCExitBlocking () {
// if (!_isHL) {
gc_exit_blocking ();
// }
}
std::wstring* System::GetIOSDirectory (SystemDirectory type) {
#ifndef OBJC_ARC