mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
26 lines
1.5 KiB
Text
26 lines
1.5 KiB
Text
qbs *_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_REMOVESTRINGENCLOSINGPAIR=NULL;
|
|
if (!_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_REMOVESTRINGENCLOSINGPAIR)_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_REMOVESTRINGENCLOSINGPAIR=qbs_new(0,0);
|
|
qbs*oldstr3805=NULL;
|
|
if(_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_TEXT->tmp||_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_TEXT->fixed||_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_TEXT->readonly){
|
|
oldstr3805=_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_TEXT;
|
|
if (oldstr3805->cmem_descriptor){
|
|
_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_TEXT=qbs_new_cmem(oldstr3805->len,0);
|
|
}else{
|
|
_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_TEXT=qbs_new(oldstr3805->len,0);
|
|
}
|
|
memcpy(_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_TEXT->chr,oldstr3805->chr,oldstr3805->len);
|
|
}
|
|
qbs*oldstr3806=NULL;
|
|
if(_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_PAIR->tmp||_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_PAIR->fixed||_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_PAIR->readonly){
|
|
oldstr3806=_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_PAIR;
|
|
if (oldstr3806->cmem_descriptor){
|
|
_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_PAIR=qbs_new_cmem(oldstr3806->len,0);
|
|
}else{
|
|
_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_PAIR=qbs_new(oldstr3806->len,0);
|
|
}
|
|
memcpy(_FUNC_REMOVESTRINGENCLOSINGPAIR_STRING_PAIR->chr,oldstr3806->chr,oldstr3806->len);
|
|
}
|
|
byte_element_struct *byte_element_3807=NULL;
|
|
if (!byte_element_3807){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3807=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3807=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|