mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-30 02:30:16 +00:00
49 lines
2.3 KiB
Text
49 lines
2.3 KiB
Text
|
int32 *_FUNC_READCONFIGSETTING_LONG_READCONFIGSETTING=NULL;
|
||
|
if(_FUNC_READCONFIGSETTING_LONG_READCONFIGSETTING==NULL){
|
||
|
_FUNC_READCONFIGSETTING_LONG_READCONFIGSETTING=(int32*)mem_static_malloc(4);
|
||
|
*_FUNC_READCONFIGSETTING_LONG_READCONFIGSETTING=0;
|
||
|
}
|
||
|
qbs*oldstr3376=NULL;
|
||
|
if(_FUNC_READCONFIGSETTING_STRING_ITEM->tmp||_FUNC_READCONFIGSETTING_STRING_ITEM->fixed||_FUNC_READCONFIGSETTING_STRING_ITEM->readonly){
|
||
|
oldstr3376=_FUNC_READCONFIGSETTING_STRING_ITEM;
|
||
|
if (oldstr3376->cmem_descriptor){
|
||
|
_FUNC_READCONFIGSETTING_STRING_ITEM=qbs_new_cmem(oldstr3376->len,0);
|
||
|
}else{
|
||
|
_FUNC_READCONFIGSETTING_STRING_ITEM=qbs_new(oldstr3376->len,0);
|
||
|
}
|
||
|
memcpy(_FUNC_READCONFIGSETTING_STRING_ITEM->chr,oldstr3376->chr,oldstr3376->len);
|
||
|
}
|
||
|
qbs*oldstr3377=NULL;
|
||
|
if(_FUNC_READCONFIGSETTING_STRING_VALUE->tmp||_FUNC_READCONFIGSETTING_STRING_VALUE->fixed||_FUNC_READCONFIGSETTING_STRING_VALUE->readonly){
|
||
|
oldstr3377=_FUNC_READCONFIGSETTING_STRING_VALUE;
|
||
|
if (oldstr3377->cmem_descriptor){
|
||
|
_FUNC_READCONFIGSETTING_STRING_VALUE=qbs_new_cmem(oldstr3377->len,0);
|
||
|
}else{
|
||
|
_FUNC_READCONFIGSETTING_STRING_VALUE=qbs_new(oldstr3377->len,0);
|
||
|
}
|
||
|
memcpy(_FUNC_READCONFIGSETTING_STRING_VALUE->chr,oldstr3377->chr,oldstr3377->len);
|
||
|
}
|
||
|
int32 *_FUNC_READCONFIGSETTING_LONG_INFILE=NULL;
|
||
|
if(_FUNC_READCONFIGSETTING_LONG_INFILE==NULL){
|
||
|
_FUNC_READCONFIGSETTING_LONG_INFILE=(int32*)mem_static_malloc(4);
|
||
|
*_FUNC_READCONFIGSETTING_LONG_INFILE=0;
|
||
|
}
|
||
|
int32 *_FUNC_READCONFIGSETTING_LONG_FOUND=NULL;
|
||
|
if(_FUNC_READCONFIGSETTING_LONG_FOUND==NULL){
|
||
|
_FUNC_READCONFIGSETTING_LONG_FOUND=(int32*)mem_static_malloc(4);
|
||
|
*_FUNC_READCONFIGSETTING_LONG_FOUND=0;
|
||
|
}
|
||
|
qbs *_FUNC_READCONFIGSETTING_STRING_TEMP=NULL;
|
||
|
if (!_FUNC_READCONFIGSETTING_STRING_TEMP)_FUNC_READCONFIGSETTING_STRING_TEMP=qbs_new(0,0);
|
||
|
int32 *_FUNC_READCONFIGSETTING_LONG_L=NULL;
|
||
|
if(_FUNC_READCONFIGSETTING_LONG_L==NULL){
|
||
|
_FUNC_READCONFIGSETTING_LONG_L=(int32*)mem_static_malloc(4);
|
||
|
*_FUNC_READCONFIGSETTING_LONG_L=0;
|
||
|
}
|
||
|
qbs *_FUNC_READCONFIGSETTING_STRING_COMPARE=NULL;
|
||
|
if (!_FUNC_READCONFIGSETTING_STRING_COMPARE)_FUNC_READCONFIGSETTING_STRING_COMPARE=qbs_new(0,0);
|
||
|
byte_element_struct *byte_element_3380=NULL;
|
||
|
if (!byte_element_3380){
|
||
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3380=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3380=(byte_element_struct*)mem_static_malloc(12);
|
||
|
}
|