commit 2025-09-02 17:06 delete argument AL_AddAllocSize in ZftLoadFile() in ZCppMain/ZMainHeadEx.H

This commit is contained in:
2025-09-02 17:06:26 +09:00
parent 7134f0eb67
commit ab68f32074

View File

@ -7337,14 +7337,13 @@ namespace ZNsMain
template<typename TStringData> bool ZftLoadFile /*############################*/ template<typename TStringData> bool ZftLoadFile /*############################*/
( (
TStringData& ARR_SaveCStr , ZTypCPCChar APC_FileName , TStringData& ARR_SaveCStr , ZTypCPCChar APC_FileName ,
ZTypLength AL_LoadSize=0 , ZTypLength AL_Offset =0, ZTypLength AL_LoadSize=0 , ZTypLength AL_Offset =0,
bool AB_DoAppend=true, ZTypLength AL_AddAllocSize=0 bool AB_DoAppend=true
) )
/*#############################################################################*/ /*#############################################################################*/
{ {
// window 에서 _open() 함수는 \r\n 을 한 문자로 입력받음에 주의. // window 에서 _open() 함수는 \r\n 을 한 문자로 입력받음에 주의.
// AL_AddAllocSize 는 파일 APC_FileName 의 크기보다 더 큰 메모리가 필요할 경우에 전달한다.
if(AL_Offset<0) AL_Offset=0; if(AL_Offset<0) AL_Offset=0;
@ -7379,7 +7378,7 @@ namespace ZNsMain
ARR_SaveCStr.resize //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ARR_SaveCStr.resize //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
( (
VL_PrevSize+VL_LastPos-AL_Offset+AL_AddAllocSize, ' ' VL_PrevSize+VL_LastPos-AL_Offset, ' '
); );
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
@ -7456,9 +7455,9 @@ namespace ZNsMain
}/* }/*
template<typename TStringData> bool ZftLoadFile ################################ template<typename TStringData> bool ZftLoadFile ################################
( (
TStringData& ARR_SaveCStr , ZTypCPCChar APC_FileName , TStringData& ARR_SaveCStr , ZTypCPCChar APC_FileName ,
ZTypLength AL_LoadSize=0 , ZTypLength AL_Offset =0, ZTypLength AL_LoadSize=0 , ZTypLength AL_Offset =0,
bool AB_DoAppend=true, ZTypLength AL_AddAllocSize=0 bool AB_DoAppend=true
) )
###############################################################################*/ ###############################################################################*/