mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-03 01:00:15 +00:00
48 lines
2.3 KiB
Text
48 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*oldstr3493=NULL;
|
|
if(_FUNC_READCONFIGSETTING_STRING_ITEM->tmp||_FUNC_READCONFIGSETTING_STRING_ITEM->fixed||_FUNC_READCONFIGSETTING_STRING_ITEM->readonly){
|
|
oldstr3493=_FUNC_READCONFIGSETTING_STRING_ITEM;
|
|
if (oldstr3493->cmem_descriptor){
|
|
_FUNC_READCONFIGSETTING_STRING_ITEM=qbs_new_cmem(oldstr3493->len,0);
|
|
}else{
|
|
_FUNC_READCONFIGSETTING_STRING_ITEM=qbs_new(oldstr3493->len,0);
|
|
}
|
|
memcpy(_FUNC_READCONFIGSETTING_STRING_ITEM->chr,oldstr3493->chr,oldstr3493->len);
|
|
}
|
|
qbs*oldstr3494=NULL;
|
|
if(_FUNC_READCONFIGSETTING_STRING_VALUE->tmp||_FUNC_READCONFIGSETTING_STRING_VALUE->fixed||_FUNC_READCONFIGSETTING_STRING_VALUE->readonly){
|
|
oldstr3494=_FUNC_READCONFIGSETTING_STRING_VALUE;
|
|
if (oldstr3494->cmem_descriptor){
|
|
_FUNC_READCONFIGSETTING_STRING_VALUE=qbs_new_cmem(oldstr3494->len,0);
|
|
}else{
|
|
_FUNC_READCONFIGSETTING_STRING_VALUE=qbs_new(oldstr3494->len,0);
|
|
}
|
|
memcpy(_FUNC_READCONFIGSETTING_STRING_VALUE->chr,oldstr3494->chr,oldstr3494->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_3497=NULL;
|
|
if (!byte_element_3497){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3497=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3497=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|