commit 2025-10-07 15:50 edit a bit ZCppMain/ZMainHead.H

This commit is contained in:
2025-10-07 15:50:30 +09:00
parent 0aca9256c3
commit cf870b5c9c

View File

@ -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*/