edit ZMainHead.H a bit
This commit is contained in:
@ -2581,7 +2581,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
inline ZTypLLong ATOLL(const char* ApcChar, ZTypIntI AI_Length)
|
inline ZTypLLong ATOLL(const char* ApcChar, ZTypIntI AI_Length)
|
||||||
{
|
{
|
||||||
return AToInt<LongLong>(ApcChar, AI_Length);
|
return AToInt<ZTypLLong>(ApcChar, AI_Length);
|
||||||
}/*
|
}/*
|
||||||
inline ZTypLLong ATOL(const char* ApcChar, ZTypIntI AI_Length)*/
|
inline ZTypLLong ATOL(const char* ApcChar, ZTypIntI AI_Length)*/
|
||||||
|
|
||||||
@ -2594,7 +2594,7 @@ namespace ZNsMain
|
|||||||
|
|
||||||
inline ZTypLong ATOL(const char* ApcChar, ZTypIntI AI_Length)
|
inline ZTypLong ATOL(const char* ApcChar, ZTypIntI AI_Length)
|
||||||
{
|
{
|
||||||
return AToInt<long>(ApcChar, AI_Length);
|
return AToInt<ZTypLong>(ApcChar, AI_Length);
|
||||||
}/*
|
}/*
|
||||||
inline ZTypLong ATOL(const char* ApcChar, ZTypIntI AI_Length)*/
|
inline ZTypLong ATOL(const char* ApcChar, ZTypIntI AI_Length)*/
|
||||||
|
|
||||||
@ -2618,13 +2618,21 @@ namespace ZNsMain
|
|||||||
inline double ATOD(const char* ApcChar)*/
|
inline double ATOD(const char* ApcChar)*/
|
||||||
|
|
||||||
|
|
||||||
template<typename TTypeCh> inline LLength GetLength(const TTypeCh* ApcChar)
|
template<typename TTypeCh>
|
||||||
|
inline ZTypLength GetLength(const TTypeCh* ApcChar)
|
||||||
{
|
{
|
||||||
if(ApcChar==0) return 0; long VL_Length=0;
|
if(ApcChar==0) return 0;
|
||||||
|
|
||||||
while(*(ApcChar+VL_Length)!=_T('\0')) ++VL_Length; return VL_Length;
|
ZTypLength VL_Length=0 ;
|
||||||
|
|
||||||
|
while(*(ApcChar+VL_Length)!=_T('\0'))
|
||||||
|
++VL_Length;
|
||||||
|
/////////////////////////////////////
|
||||||
|
|
||||||
|
return VL_Length;
|
||||||
}/*
|
}/*
|
||||||
template<typename TTypeCh> LLength GetLength(const TTypeCh* ApcChar) */
|
template<typename TTypeCh>
|
||||||
|
inline ZTypLength GetLength(const TTypeCh* ApcChar) */
|
||||||
|
|
||||||
template<typename TTypeSize, typename TTypeCh>
|
template<typename TTypeSize, typename TTypeCh>
|
||||||
inline TTypeSize GetLengthType(const TTypeCh* ApcChar)
|
inline TTypeSize GetLengthType(const TTypeCh* ApcChar)
|
||||||
|
Reference in New Issue
Block a user