2023-02-13 12:57:38 +00:00
|
|
|
qbs *_FUNC_ADDQUOTES_STRING_ADDQUOTES=NULL;
|
|
|
|
if (!_FUNC_ADDQUOTES_STRING_ADDQUOTES)_FUNC_ADDQUOTES_STRING_ADDQUOTES=qbs_new(0,0);
|
|
|
|
qbs*oldstr3775=NULL;
|
|
|
|
if(_FUNC_ADDQUOTES_STRING_S->tmp||_FUNC_ADDQUOTES_STRING_S->fixed||_FUNC_ADDQUOTES_STRING_S->readonly){
|
|
|
|
oldstr3775=_FUNC_ADDQUOTES_STRING_S;
|
|
|
|
if (oldstr3775->cmem_descriptor){
|
|
|
|
_FUNC_ADDQUOTES_STRING_S=qbs_new_cmem(oldstr3775->len,0);
|
2022-11-22 23:53:31 +00:00
|
|
|
}else{
|
2023-02-13 12:57:38 +00:00
|
|
|
_FUNC_ADDQUOTES_STRING_S=qbs_new(oldstr3775->len,0);
|
2022-08-26 14:13:09 +00:00
|
|
|
}
|
2023-02-13 12:57:38 +00:00
|
|
|
memcpy(_FUNC_ADDQUOTES_STRING_S->chr,oldstr3775->chr,oldstr3775->len);
|
2022-11-22 23:53:31 +00:00
|
|
|
}
|