2021-02-03 12:34:14 +00:00
|
|
|
qbs *_FUNC_SCASE_STRING_SCASE=NULL;
|
|
|
|
if (!_FUNC_SCASE_STRING_SCASE)_FUNC_SCASE_STRING_SCASE=qbs_new(0,0);
|
2021-01-29 05:37:23 +00:00
|
|
|
qbs*oldstr3660=NULL;
|
2021-02-03 12:34:14 +00:00
|
|
|
if(_FUNC_SCASE_STRING_T->tmp||_FUNC_SCASE_STRING_T->fixed||_FUNC_SCASE_STRING_T->readonly){
|
|
|
|
oldstr3660=_FUNC_SCASE_STRING_T;
|
2021-01-29 05:37:23 +00:00
|
|
|
if (oldstr3660->cmem_descriptor){
|
2021-02-03 12:34:14 +00:00
|
|
|
_FUNC_SCASE_STRING_T=qbs_new_cmem(oldstr3660->len,0);
|
2015-10-30 12:18:44 +00:00
|
|
|
}else{
|
2021-02-03 12:34:14 +00:00
|
|
|
_FUNC_SCASE_STRING_T=qbs_new(oldstr3660->len,0);
|
2015-10-30 12:18:44 +00:00
|
|
|
}
|
2021-02-03 12:34:14 +00:00
|
|
|
memcpy(_FUNC_SCASE_STRING_T->chr,oldstr3660->chr,oldstr3660->len);
|
2020-11-04 12:46:52 +00:00
|
|
|
}
|