mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 00:55:09 +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*oldstr3530=NULL;
|
|
if(_FUNC_READCONFIGSETTING_STRING_ITEM->tmp||_FUNC_READCONFIGSETTING_STRING_ITEM->fixed||_FUNC_READCONFIGSETTING_STRING_ITEM->readonly){
|
|
oldstr3530=_FUNC_READCONFIGSETTING_STRING_ITEM;
|
|
if (oldstr3530->cmem_descriptor){
|
|
_FUNC_READCONFIGSETTING_STRING_ITEM=qbs_new_cmem(oldstr3530->len,0);
|
|
}else{
|
|
_FUNC_READCONFIGSETTING_STRING_ITEM=qbs_new(oldstr3530->len,0);
|
|
}
|
|
memcpy(_FUNC_READCONFIGSETTING_STRING_ITEM->chr,oldstr3530->chr,oldstr3530->len);
|
|
}
|
|
qbs*oldstr3531=NULL;
|
|
if(_FUNC_READCONFIGSETTING_STRING_VALUE->tmp||_FUNC_READCONFIGSETTING_STRING_VALUE->fixed||_FUNC_READCONFIGSETTING_STRING_VALUE->readonly){
|
|
oldstr3531=_FUNC_READCONFIGSETTING_STRING_VALUE;
|
|
if (oldstr3531->cmem_descriptor){
|
|
_FUNC_READCONFIGSETTING_STRING_VALUE=qbs_new_cmem(oldstr3531->len,0);
|
|
}else{
|
|
_FUNC_READCONFIGSETTING_STRING_VALUE=qbs_new(oldstr3531->len,0);
|
|
}
|
|
memcpy(_FUNC_READCONFIGSETTING_STRING_VALUE->chr,oldstr3531->chr,oldstr3531->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_3534=NULL;
|
|
if (!byte_element_3534){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3534=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3534=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|