mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-10 19:25:12 +00:00
37 lines
1.7 KiB
Plaintext
37 lines
1.7 KiB
Plaintext
qbs*oldstr6100=NULL;
|
|
if(_SUB_IDEADDSEARCHED_STRING_S2->tmp||_SUB_IDEADDSEARCHED_STRING_S2->fixed||_SUB_IDEADDSEARCHED_STRING_S2->readonly){
|
|
oldstr6100=_SUB_IDEADDSEARCHED_STRING_S2;
|
|
if (oldstr6100->cmem_descriptor){
|
|
_SUB_IDEADDSEARCHED_STRING_S2=qbs_new_cmem(oldstr6100->len,0);
|
|
}else{
|
|
_SUB_IDEADDSEARCHED_STRING_S2=qbs_new(oldstr6100->len,0);
|
|
}
|
|
memcpy(_SUB_IDEADDSEARCHED_STRING_S2->chr,oldstr6100->chr,oldstr6100->len);
|
|
}
|
|
qbs *_SUB_IDEADDSEARCHED_STRING_S=NULL;
|
|
if (!_SUB_IDEADDSEARCHED_STRING_S)_SUB_IDEADDSEARCHED_STRING_S=qbs_new(0,0);
|
|
int32 *_SUB_IDEADDSEARCHED_LONG_FH=NULL;
|
|
if(_SUB_IDEADDSEARCHED_LONG_FH==NULL){
|
|
_SUB_IDEADDSEARCHED_LONG_FH=(int32*)mem_static_malloc(4);
|
|
*_SUB_IDEADDSEARCHED_LONG_FH=0;
|
|
}
|
|
qbs *_SUB_IDEADDSEARCHED_STRING_A=NULL;
|
|
if (!_SUB_IDEADDSEARCHED_STRING_A)_SUB_IDEADDSEARCHED_STRING_A=qbs_new(0,0);
|
|
int32 *_SUB_IDEADDSEARCHED_LONG_X=NULL;
|
|
if(_SUB_IDEADDSEARCHED_LONG_X==NULL){
|
|
_SUB_IDEADDSEARCHED_LONG_X=(int32*)mem_static_malloc(4);
|
|
*_SUB_IDEADDSEARCHED_LONG_X=0;
|
|
}
|
|
byte_element_struct *byte_element_6101=NULL;
|
|
if (!byte_element_6101){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6101=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6101=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_6102=NULL;
|
|
if (!byte_element_6102){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6102=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6102=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_6103=NULL;
|
|
if (!byte_element_6103){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6103=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6103=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|