mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
37 lines
2 KiB
Text
37 lines
2 KiB
Text
int8 *_FUNC_HASSTRINGENCLOSINGPAIR_BYTE_HASSTRINGENCLOSINGPAIR=NULL;
|
|
if(_FUNC_HASSTRINGENCLOSINGPAIR_BYTE_HASSTRINGENCLOSINGPAIR==NULL){
|
|
_FUNC_HASSTRINGENCLOSINGPAIR_BYTE_HASSTRINGENCLOSINGPAIR=(int8*)mem_static_malloc(1);
|
|
*_FUNC_HASSTRINGENCLOSINGPAIR_BYTE_HASSTRINGENCLOSINGPAIR=0;
|
|
}
|
|
qbs*oldstr3800=NULL;
|
|
if(_FUNC_HASSTRINGENCLOSINGPAIR_STRING_TEXT->tmp||_FUNC_HASSTRINGENCLOSINGPAIR_STRING_TEXT->fixed||_FUNC_HASSTRINGENCLOSINGPAIR_STRING_TEXT->readonly){
|
|
oldstr3800=_FUNC_HASSTRINGENCLOSINGPAIR_STRING_TEXT;
|
|
if (oldstr3800->cmem_descriptor){
|
|
_FUNC_HASSTRINGENCLOSINGPAIR_STRING_TEXT=qbs_new_cmem(oldstr3800->len,0);
|
|
}else{
|
|
_FUNC_HASSTRINGENCLOSINGPAIR_STRING_TEXT=qbs_new(oldstr3800->len,0);
|
|
}
|
|
memcpy(_FUNC_HASSTRINGENCLOSINGPAIR_STRING_TEXT->chr,oldstr3800->chr,oldstr3800->len);
|
|
}
|
|
qbs*oldstr3801=NULL;
|
|
if(_FUNC_HASSTRINGENCLOSINGPAIR_STRING_PAIR->tmp||_FUNC_HASSTRINGENCLOSINGPAIR_STRING_PAIR->fixed||_FUNC_HASSTRINGENCLOSINGPAIR_STRING_PAIR->readonly){
|
|
oldstr3801=_FUNC_HASSTRINGENCLOSINGPAIR_STRING_PAIR;
|
|
if (oldstr3801->cmem_descriptor){
|
|
_FUNC_HASSTRINGENCLOSINGPAIR_STRING_PAIR=qbs_new_cmem(oldstr3801->len,0);
|
|
}else{
|
|
_FUNC_HASSTRINGENCLOSINGPAIR_STRING_PAIR=qbs_new(oldstr3801->len,0);
|
|
}
|
|
memcpy(_FUNC_HASSTRINGENCLOSINGPAIR_STRING_PAIR->chr,oldstr3801->chr,oldstr3801->len);
|
|
}
|
|
byte_element_struct *byte_element_3802=NULL;
|
|
if (!byte_element_3802){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3802=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3802=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_3803=NULL;
|
|
if (!byte_element_3803){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3803=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3803=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_3804=NULL;
|
|
if (!byte_element_3804){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3804=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3804=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|