commit 2025-09-02 17:06 delete argument AL_AddAllocSize in ZftLoadFile() in ZCppMain/ZMainHeadEx.H
This commit is contained in:
@ -7339,12 +7339,11 @@ namespace ZNsMain
|
|||||||
(
|
(
|
||||||
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, ' '
|
||||||
);
|
);
|
||||||
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
|
||||||
@ -7458,7 +7457,7 @@ namespace ZNsMain
|
|||||||
(
|
(
|
||||||
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
|
||||||
)
|
)
|
||||||
###############################################################################*/
|
###############################################################################*/
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user