2021-07-21 21:30:49 +00:00
|
|
|
qbs *_FUNC_SCASE_STRING_SCASE=NULL;
|
|
|
|
if (!_FUNC_SCASE_STRING_SCASE)_FUNC_SCASE_STRING_SCASE=qbs_new(0,0);
|
2021-08-15 06:00:33 +00:00
|
|
|
qbs*oldstr3810=NULL;
|
2021-07-21 21:30:49 +00:00
|
|
|
if(_FUNC_SCASE_STRING_T->tmp||_FUNC_SCASE_STRING_T->fixed||_FUNC_SCASE_STRING_T->readonly){
|
2021-08-15 06:00:33 +00:00
|
|
|
oldstr3810=_FUNC_SCASE_STRING_T;
|
|
|
|
if (oldstr3810->cmem_descriptor){
|
|
|
|
_FUNC_SCASE_STRING_T=qbs_new_cmem(oldstr3810->len,0);
|
2021-02-07 10:32:23 +00:00
|
|
|
}else{
|
2021-08-15 06:00:33 +00:00
|
|
|
_FUNC_SCASE_STRING_T=qbs_new(oldstr3810->len,0);
|
2021-02-07 10:32:23 +00:00
|
|
|
}
|
2021-08-15 06:00:33 +00:00
|
|
|
memcpy(_FUNC_SCASE_STRING_T->chr,oldstr3810->chr,oldstr3810->len);
|
2021-06-14 07:59:39 +00:00
|
|
|
}
|