mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-04 04:50:22 +00:00
18 lines
734 B
Plaintext
18 lines
734 B
Plaintext
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*oldstr3877=NULL;
|
|
if(_FUNC_PARSESTRING_STRING_EXP->tmp||_FUNC_PARSESTRING_STRING_EXP->fixed||_FUNC_PARSESTRING_STRING_EXP->readonly){
|
|
oldstr3877=_FUNC_PARSESTRING_STRING_EXP;
|
|
if (oldstr3877->cmem_descriptor){
|
|
_FUNC_PARSESTRING_STRING_EXP=qbs_new_cmem(oldstr3877->len,0);
|
|
}else{
|
|
_FUNC_PARSESTRING_STRING_EXP=qbs_new(oldstr3877->len,0);
|
|
}
|
|
memcpy(_FUNC_PARSESTRING_STRING_EXP->chr,oldstr3877->chr,oldstr3877->len);
|
|
}
|
|
qbs *_FUNC_PARSESTRING_STRING_ELE=NULL;
|
|
if (!_FUNC_PARSESTRING_STRING_ELE)_FUNC_PARSESTRING_STRING_ELE=qbs_new(0,0);
|