commit 2025-08-22 13:59 edit a bit ZCppMain/ZMainHead.H

This commit is contained in:
2025-08-22 13:59:38 +09:00
parent b44de5ea96
commit b18311517a

View File

@ -556,75 +556,75 @@ namespace ZNsMain
*/ */
#endif #endif
typedef unsigned int ZTypUInt ; typedef unsigned int ZTypUInt ;
typedef unsigned short ZTypUShort ; typedef unsigned short ZTypUShort ;
typedef unsigned long ZTypULong ; typedef unsigned long ZTypULong ;
typedef unsigned char ZTypIntUChar ; typedef unsigned char ZTypIntUChar ;
typedef unsigned int ZTypIntUInt ; typedef unsigned int ZTypIntUInt ;
typedef unsigned short ZTypIntUShort ; typedef unsigned short ZTypIntUShort ;
typedef unsigned long ZTypIntULong ; typedef unsigned long ZTypIntULong ;
typedef unsigned char ZTypIntUC ; typedef unsigned char ZTypIntUC ;
typedef unsigned int ZTypIntUI ; typedef unsigned int ZTypIntUI ;
typedef unsigned short ZTypIntUS ; typedef unsigned short ZTypIntUS ;
typedef unsigned long ZTypIntUL ; typedef unsigned long ZTypIntUL ;
#if(defined(__CPU_BIT_CNT__) && __CPU_BIT_CNT__>=64) #if(defined(__CPU_BIT_CNT__) && __CPU_BIT_CNT__>=64)
#ifdef _WIN #ifdef _WIN
typedef __int64 ZTypLength ; // 문자열의 길이를 나타내는 자료형. typedef __int64 ZTypLength ; // 문자열의 길이를 나타내는 자료형.
// 송수신 버퍼의 크기 자료형으로도 쓰인다. // 송수신 버퍼의 크기 자료형으로도 쓰인다.
typedef unsigned __int64 ZTypULen ; typedef unsigned __int64 ZTypULen ;
typedef unsigned __int64 ZTypULength; typedef unsigned __int64 ZTypULength;
#else #else
typedef long ZTypLength ; typedef long ZTypLength ;
typedef unsigend long ZTypULen ; typedef unsigend long ZTypULen ;
typedef unsigend long ZTypULength ; typedef unsigend long ZTypULength ;
#endif #endif
#else // !defined(__CPU_BIT_CNT__) || __CPU_BIT_CNT__<64 #else // !defined(__CPU_BIT_CNT__) || __CPU_BIT_CNT__<64
typedef long ZTypLength ; typedef long ZTypLength ;
typedef unsigend long ZTypULen ; typedef unsigend long ZTypULen ;
typedef unsigend long ZTypULength ; typedef unsigend long ZTypULength ;
#endif // !defined(__CPU_BIT_CNT__) || __CPU_BIT_CNT__<64 #endif // !defined(__CPU_BIT_CNT__) || __CPU_BIT_CNT__<64
#ifdef _WIN #ifdef _WIN
typedef __int64 ZTypLengthFile ; // 파일의 크기를 나타내는 자료형. typedef __int64 ZTypLengthFile ; // 파일의 크기를 나타내는 자료형.
#else #else
typedef long ZTypLengthFile ; // 파일의 크기를 나타내는 자료형. typedef long ZTypLengthFile ; // 파일의 크기를 나타내는 자료형.
#endif #endif
typedef ZTypLengthFile ZTypLengthF ; typedef ZTypLengthFile ZTypLengthF ;
#ifdef _WIN #ifdef _WIN
typedef __int64 ZTypLongLong ; typedef __int64 ZTypLongLong ;
typedef unsigned __int64 ZTypULongLong ; typedef unsigned __int64 ZTypULongLong ;
typedef __int64 ZTypIntLLong ; typedef __int64 ZTypIntLLong ;
typedef unsigned __int64 ZTypIntULLong ; typedef unsigned __int64 ZTypIntULLong ;
#else #else
typedef long long ZTypLongLong ; typedef long long ZTypLongLong ;
typedef unsigned long long ZTypULongLong ; typedef unsigned long long ZTypULongLong ;
typedef long long ZTypIntLLong ; typedef long long ZTypIntLLong ;
typedef unsigned long long ZTypIntULLong ; typedef unsigned long long ZTypIntULLong ;
#endif #endif
typedef ZTypLongLong ZTypLLong ; typedef ZTypLongLong ZTypLLong ;
typedef ZTypULongLong ZTypULLong ; typedef ZTypULongLong ZTypULLong ;
typedef ZTypLongLong ZTypIntLL ; typedef ZTypLongLong ZTypIntLL ;
typedef ZTypULongLong ZTypIntULL ; typedef ZTypULongLong ZTypIntULL ;
#ifdef _WIN64 #ifdef _WIN64
typedef __int64 ZTypIntPtr ; // 포인터를 표현하는 정수 크기다. typedef __int64 ZTypIntPtr ; // 포인터를 표현하는 정수 크기다.
typedef unsigned __int64 ZTypIntUPtr ; // 포인터를 표현하는 양의 정수 크기다. typedef unsigned __int64 ZTypIntUPtr ; // 포인터를 표현하는 양의 정수 크기다.
#else #else
typedef long ZTypIntPtr ; typedef long ZTypIntPtr ;
typedef unsigned long ZTypIntUPtr ; typedef unsigned long ZTypIntUPtr ;
#endif #endif