mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
13 lines
638 B
Text
13 lines
638 B
Text
qbs *_FUNC_GETELEMENTSBEFORE_STRING_GETELEMENTSBEFORE=NULL;
|
|
if (!_FUNC_GETELEMENTSBEFORE_STRING_GETELEMENTSBEFORE)_FUNC_GETELEMENTSBEFORE_STRING_GETELEMENTSBEFORE=qbs_new(0,0);
|
|
qbs*oldstr3656=NULL;
|
|
if(_FUNC_GETELEMENTSBEFORE_STRING_A->tmp||_FUNC_GETELEMENTSBEFORE_STRING_A->fixed||_FUNC_GETELEMENTSBEFORE_STRING_A->readonly){
|
|
oldstr3656=_FUNC_GETELEMENTSBEFORE_STRING_A;
|
|
if (oldstr3656->cmem_descriptor){
|
|
_FUNC_GETELEMENTSBEFORE_STRING_A=qbs_new_cmem(oldstr3656->len,0);
|
|
}else{
|
|
_FUNC_GETELEMENTSBEFORE_STRING_A=qbs_new(oldstr3656->len,0);
|
|
}
|
|
memcpy(_FUNC_GETELEMENTSBEFORE_STRING_A->chr,oldstr3656->chr,oldstr3656->len);
|
|
}
|
|
int32 pass3657;
|