2021-07-12 00:07:48 +00:00
|
|
|
qbs *_FUNC_IDECLEARHISTORY_STRING_IDECLEARHISTORY=NULL;
|
|
|
|
if (!_FUNC_IDECLEARHISTORY_STRING_IDECLEARHISTORY)_FUNC_IDECLEARHISTORY_STRING_IDECLEARHISTORY=qbs_new(0,0);
|
2021-07-15 04:16:55 +00:00
|
|
|
qbs*oldstr4789=NULL;
|
2021-07-12 00:07:48 +00:00
|
|
|
if(_FUNC_IDECLEARHISTORY_STRING_WHICHHISTORY->tmp||_FUNC_IDECLEARHISTORY_STRING_WHICHHISTORY->fixed||_FUNC_IDECLEARHISTORY_STRING_WHICHHISTORY->readonly){
|
2021-07-15 04:16:55 +00:00
|
|
|
oldstr4789=_FUNC_IDECLEARHISTORY_STRING_WHICHHISTORY;
|
|
|
|
if (oldstr4789->cmem_descriptor){
|
|
|
|
_FUNC_IDECLEARHISTORY_STRING_WHICHHISTORY=qbs_new_cmem(oldstr4789->len,0);
|
2021-02-03 12:34:14 +00:00
|
|
|
}else{
|
2021-07-15 04:16:55 +00:00
|
|
|
_FUNC_IDECLEARHISTORY_STRING_WHICHHISTORY=qbs_new(oldstr4789->len,0);
|
2021-02-03 12:34:14 +00:00
|
|
|
}
|
2021-07-15 04:16:55 +00:00
|
|
|
memcpy(_FUNC_IDECLEARHISTORY_STRING_WHICHHISTORY->chr,oldstr4789->chr,oldstr4789->len);
|
2021-02-03 12:34:14 +00:00
|
|
|
}
|
2021-07-12 00:07:48 +00:00
|
|
|
qbs *_FUNC_IDECLEARHISTORY_STRING_T=NULL;
|
|
|
|
if (!_FUNC_IDECLEARHISTORY_STRING_T)_FUNC_IDECLEARHISTORY_STRING_T=qbs_new(0,0);
|
|
|
|
qbs *_FUNC_IDECLEARHISTORY_STRING_M=NULL;
|
|
|
|
if (!_FUNC_IDECLEARHISTORY_STRING_M)_FUNC_IDECLEARHISTORY_STRING_M=qbs_new(0,0);
|
|
|
|
int32 *_FUNC_IDECLEARHISTORY_LONG_RESULT=NULL;
|
|
|
|
if(_FUNC_IDECLEARHISTORY_LONG_RESULT==NULL){
|
|
|
|
_FUNC_IDECLEARHISTORY_LONG_RESULT=(int32*)mem_static_malloc(4);
|
|
|
|
*_FUNC_IDECLEARHISTORY_LONG_RESULT=0;
|
2021-02-03 12:34:14 +00:00
|
|
|
}
|