mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Initial macOS changes
Many changes are related to fixing warnings
This commit is contained in:
parent
75f11b1459
commit
22ec4a86b8
52 changed files with 2873 additions and 266 deletions
|
@ -80,6 +80,7 @@ bool bf::System::Char32::get__IsLetterOrDigit(char32_t c)
|
|||
case UTF8PROC_CATEGORY_ND:
|
||||
case UTF8PROC_CATEGORY_NL:
|
||||
case UTF8PROC_CATEGORY_NO: return true;
|
||||
default: break;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -94,6 +95,7 @@ bool bf::System::Char32::get__IsLetter(char32_t c)
|
|||
case UTF8PROC_CATEGORY_LT:
|
||||
case UTF8PROC_CATEGORY_LM:
|
||||
case UTF8PROC_CATEGORY_LO: return true;
|
||||
default: break;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -106,6 +108,7 @@ bool bf::System::Char32::get__IsNumber(char32_t c)
|
|||
case UTF8PROC_CATEGORY_ND:
|
||||
case UTF8PROC_CATEGORY_NL:
|
||||
case UTF8PROC_CATEGORY_NO: return true;
|
||||
default: break;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -150,6 +153,7 @@ bool bf::System::Char16::get__IsLetterOrDigit(char16_t c)
|
|||
case UTF8PROC_CATEGORY_ND:
|
||||
case UTF8PROC_CATEGORY_NL:
|
||||
case UTF8PROC_CATEGORY_NO: return true;
|
||||
default: break;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -164,6 +168,7 @@ bool bf::System::Char16::get__IsLetter(char16_t c)
|
|||
case UTF8PROC_CATEGORY_LT:
|
||||
case UTF8PROC_CATEGORY_LM:
|
||||
case UTF8PROC_CATEGORY_LO: return true;
|
||||
default: break;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -176,6 +181,7 @@ bool bf::System::Char16::get__IsNumber(char16_t c)
|
|||
case UTF8PROC_CATEGORY_ND:
|
||||
case UTF8PROC_CATEGORY_NL:
|
||||
case UTF8PROC_CATEGORY_NO: return true;
|
||||
default: break;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
//#include <crtdefs.h>
|
||||
#include <malloc.h>
|
||||
//#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
//#include <intrin.h>
|
||||
|
@ -453,6 +453,7 @@ void* Internal::VirtualAlloc(intptr size, bool canExecute, bool canWrite)
|
|||
return ptr;
|
||||
#else
|
||||
BF_FATAL("Not supported");
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue