mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 02:30:17 +00:00
12 lines
478 B
Text
12 lines
478 B
Text
qbs *_FUNC_SCASE_STRING_SCASE=NULL;
|
|
if (!_FUNC_SCASE_STRING_SCASE)_FUNC_SCASE_STRING_SCASE=qbs_new(0,0);
|
|
qbs*oldstr3730=NULL;
|
|
if(_FUNC_SCASE_STRING_T->tmp||_FUNC_SCASE_STRING_T->fixed||_FUNC_SCASE_STRING_T->readonly){
|
|
oldstr3730=_FUNC_SCASE_STRING_T;
|
|
if (oldstr3730->cmem_descriptor){
|
|
_FUNC_SCASE_STRING_T=qbs_new_cmem(oldstr3730->len,0);
|
|
}else{
|
|
_FUNC_SCASE_STRING_T=qbs_new(oldstr3730->len,0);
|
|
}
|
|
memcpy(_FUNC_SCASE_STRING_T->chr,oldstr3730->chr,oldstr3730->len);
|
|
}
|