mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 07:54:46 +00:00
17 lines
734 B
Text
17 lines
734 B
Text
int32 *_FUNC_PARSESTRING_LONG_PARSESTRING=NULL;
|
|
if(_FUNC_PARSESTRING_LONG_PARSESTRING==NULL){
|
|
_FUNC_PARSESTRING_LONG_PARSESTRING=(int32*)mem_static_malloc(4);
|
|
*_FUNC_PARSESTRING_LONG_PARSESTRING=0;
|
|
}
|
|
qbs*oldstr3892=NULL;
|
|
if(_FUNC_PARSESTRING_STRING_EXP->tmp||_FUNC_PARSESTRING_STRING_EXP->fixed||_FUNC_PARSESTRING_STRING_EXP->readonly){
|
|
oldstr3892=_FUNC_PARSESTRING_STRING_EXP;
|
|
if (oldstr3892->cmem_descriptor){
|
|
_FUNC_PARSESTRING_STRING_EXP=qbs_new_cmem(oldstr3892->len,0);
|
|
}else{
|
|
_FUNC_PARSESTRING_STRING_EXP=qbs_new(oldstr3892->len,0);
|
|
}
|
|
memcpy(_FUNC_PARSESTRING_STRING_EXP->chr,oldstr3892->chr,oldstr3892->len);
|
|
}
|
|
qbs *_FUNC_PARSESTRING_STRING_ELE=NULL;
|
|
if (!_FUNC_PARSESTRING_STRING_ELE)_FUNC_PARSESTRING_STRING_ELE=qbs_new(0,0);
|