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