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-03-25 13:22:46 +00:00
|
|
|
qbs*oldstr3526=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-03-25 13:22:46 +00:00
|
|
|
oldstr3526=_FUNC_SCASE_STRING_T;
|
|
|
|
if (oldstr3526->cmem_descriptor){
|
|
|
|
_FUNC_SCASE_STRING_T=qbs_new_cmem(oldstr3526->len,0);
|
2022-11-22 23:53:31 +00:00
|
|
|
}else{
|
2024-03-25 13:22:46 +00:00
|
|
|
_FUNC_SCASE_STRING_T=qbs_new(oldstr3526->len,0);
|
2022-11-22 23:53:31 +00:00
|
|
|
}
|
2024-03-25 13:22:46 +00:00
|
|
|
memcpy(_FUNC_SCASE_STRING_T->chr,oldstr3526->chr,oldstr3526->len);
|
2023-05-22 19:46:34 +00:00
|
|
|
}
|