split codes of "char type" to CharType.h
This commit is contained in:
@@ -2,15 +2,8 @@
|
||||
#define HGL_OS_LINUX_INCLUDE
|
||||
|
||||
#include<limits.h>
|
||||
#include<hgl/platform/os/CharType.h>
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
using u32char =char32_t;
|
||||
using u16char =char16_t;
|
||||
using os_char =char;
|
||||
#define to_oschar to_u8
|
||||
#define OS_TEXT(str) str
|
||||
#define U8_TEXT(str) u8##str
|
||||
#define U16_TEXT(str) u##str
|
||||
|
||||
#define HGL_OS_NAME OS_TEXT("Linux")
|
||||
#define HGL_LIB_OS "Linux" //库操作系统前缀
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user