commit 2025-10-07 15:50 edit a bit ZCppMain/ZMainHead.H
This commit is contained in:
@ -3496,9 +3496,10 @@ namespace ZNsMain
|
||||
{
|
||||
public:
|
||||
TType* InitMem (size_t AL_AllocSize){return (TType*)::malloc(AL_AllocSize) ;}
|
||||
TType* InitArrMem(size_t AL_AllocSize){return (TType*)::malloc(AL_AllocSize*sizeof(TType));}
|
||||
TType* InitMemArr(size_t AL_AllocSize){return (TType*)::malloc(AL_AllocSize*sizeof(TType));}
|
||||
public:
|
||||
void FiniMem (void* AP_Void){if(AP_Void!=0) ::free(AP_Void);}
|
||||
void FiniMemArr(void* AP_Void){if(AP_Void!=0) ::free(AP_Void);}
|
||||
public:
|
||||
};/*
|
||||
template<typename TType> class ZtCAllocClass : public ZCAllocator*/
|
||||
|
Reference in New Issue
Block a user