2021-09-28 05:43:25 +00:00
|
|
|
qbs *_FUNC_SCASE_STRING_SCASE=NULL;
|
|
|
|
if (!_FUNC_SCASE_STRING_SCASE)_FUNC_SCASE_STRING_SCASE=qbs_new(0,0);
|
2022-01-24 01:16:21 +00:00
|
|
|
qbs*oldstr3804=NULL;
|
2021-09-28 05:43:25 +00:00
|
|
|
if(_FUNC_SCASE_STRING_T->tmp||_FUNC_SCASE_STRING_T->fixed||_FUNC_SCASE_STRING_T->readonly){
|
2022-01-24 01:16:21 +00:00
|
|
|
oldstr3804=_FUNC_SCASE_STRING_T;
|
|
|
|
if (oldstr3804->cmem_descriptor){
|
|
|
|
_FUNC_SCASE_STRING_T=qbs_new_cmem(oldstr3804->len,0);
|
2019-01-13 18:43:58 +00:00
|
|
|
}else{
|
2022-01-24 01:16:21 +00:00
|
|
|
_FUNC_SCASE_STRING_T=qbs_new(oldstr3804->len,0);
|
2021-07-21 21:30:49 +00:00
|
|
|
}
|
2022-01-24 01:16:21 +00:00
|
|
|
memcpy(_FUNC_SCASE_STRING_T->chr,oldstr3804->chr,oldstr3804->len);
|
2021-07-21 21:30:49 +00:00
|
|
|
}
|