2024-01-20 16:04:21 +00:00
|
|
|
qbs *_FUNC_SCASE_STRING_SCASE=NULL;
|
|
|
|
if (!_FUNC_SCASE_STRING_SCASE)_FUNC_SCASE_STRING_SCASE=qbs_new(0,0);
|
2024-04-10 17:52:08 +00:00
|
|
|
qbs*oldstr3532=NULL;
|
2024-01-20 16:04:21 +00:00
|
|
|
if(_FUNC_SCASE_STRING_T->tmp||_FUNC_SCASE_STRING_T->fixed||_FUNC_SCASE_STRING_T->readonly){
|
2024-04-10 17:52:08 +00:00
|
|
|
oldstr3532=_FUNC_SCASE_STRING_T;
|
|
|
|
if (oldstr3532->cmem_descriptor){
|
|
|
|
_FUNC_SCASE_STRING_T=qbs_new_cmem(oldstr3532->len,0);
|
2022-11-22 23:53:31 +00:00
|
|
|
}else{
|
2024-04-10 17:52:08 +00:00
|
|
|
_FUNC_SCASE_STRING_T=qbs_new(oldstr3532->len,0);
|
2022-11-22 23:53:31 +00:00
|
|
|
}
|
2024-04-10 17:52:08 +00:00
|
|
|
memcpy(_FUNC_SCASE_STRING_T->chr,oldstr3532->chr,oldstr3532->len);
|
2023-05-22 19:46:34 +00:00
|
|
|
}
|