commit 2025-08-20 14:46 add GeLenght() in ZtCStringBase
This commit is contained in:
@ -2102,7 +2102,7 @@ namespace ZNsMain
|
|||||||
//////////////////////////////////////////////
|
//////////////////////////////////////////////
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TType* NewMem (size_t AL_AllocSize){return (TType*)::malloc(AL_AllocSize) ;}
|
TType* NewMem (size_t AL_AllocSize){return (TType*)::malloc(AL_AllocSize) ;}
|
||||||
TType* NewArrMem(size_t AL_AllocSize){return (TType*)::malloc(AL_AllocSize*sizeof(TType));}
|
TType* NewArrMem(size_t AL_AllocSize){return (TType*)::malloc(AL_AllocSize*sizeof(TType));}
|
||||||
public:
|
public:
|
||||||
void DeleteMem(void* AP_Void){if(AP_Void!=0) ::free(AP_Void);}
|
void DeleteMem(void* AP_Void){if(AP_Void!=0) ::free(AP_Void);}
|
||||||
@ -2474,7 +2474,7 @@ namespace ZNsMain
|
|||||||
inline ZTypLength ZftLength(const TTypeCh* ApcChar) */
|
inline ZTypLength ZftLength(const TTypeCh* ApcChar) */
|
||||||
|
|
||||||
template<typename TTypeSize, typename TTypeCh>
|
template<typename TTypeSize, typename TTypeCh>
|
||||||
inline TTypeSize ZfLengthType(const TTypeCh* ApcChar)
|
inline TTypeSize ZftLengthType(const TTypeCh* ApcChar)
|
||||||
{
|
{
|
||||||
return ZftGetLengthType<TTypeSize, TTypeCh>(ApcChar);
|
return ZftGetLengthType<TTypeSize, TTypeCh>(ApcChar);
|
||||||
}/*
|
}/*
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user