mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 09:05:08 +00:00
39 lines
1.9 KiB
Text
39 lines
1.9 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*oldstr3715=NULL;
|
|
if(_FUNC_READCONFIGSETTING_STRING_SECTION->tmp||_FUNC_READCONFIGSETTING_STRING_SECTION->fixed||_FUNC_READCONFIGSETTING_STRING_SECTION->readonly){
|
|
oldstr3715=_FUNC_READCONFIGSETTING_STRING_SECTION;
|
|
if (oldstr3715->cmem_descriptor){
|
|
_FUNC_READCONFIGSETTING_STRING_SECTION=qbs_new_cmem(oldstr3715->len,0);
|
|
}else{
|
|
_FUNC_READCONFIGSETTING_STRING_SECTION=qbs_new(oldstr3715->len,0);
|
|
}
|
|
memcpy(_FUNC_READCONFIGSETTING_STRING_SECTION->chr,oldstr3715->chr,oldstr3715->len);
|
|
}
|
|
qbs*oldstr3716=NULL;
|
|
if(_FUNC_READCONFIGSETTING_STRING_ITEM->tmp||_FUNC_READCONFIGSETTING_STRING_ITEM->fixed||_FUNC_READCONFIGSETTING_STRING_ITEM->readonly){
|
|
oldstr3716=_FUNC_READCONFIGSETTING_STRING_ITEM;
|
|
if (oldstr3716->cmem_descriptor){
|
|
_FUNC_READCONFIGSETTING_STRING_ITEM=qbs_new_cmem(oldstr3716->len,0);
|
|
}else{
|
|
_FUNC_READCONFIGSETTING_STRING_ITEM=qbs_new(oldstr3716->len,0);
|
|
}
|
|
memcpy(_FUNC_READCONFIGSETTING_STRING_ITEM->chr,oldstr3716->chr,oldstr3716->len);
|
|
}
|
|
qbs*oldstr3717=NULL;
|
|
if(_FUNC_READCONFIGSETTING_STRING_VALUE->tmp||_FUNC_READCONFIGSETTING_STRING_VALUE->fixed||_FUNC_READCONFIGSETTING_STRING_VALUE->readonly){
|
|
oldstr3717=_FUNC_READCONFIGSETTING_STRING_VALUE;
|
|
if (oldstr3717->cmem_descriptor){
|
|
_FUNC_READCONFIGSETTING_STRING_VALUE=qbs_new_cmem(oldstr3717->len,0);
|
|
}else{
|
|
_FUNC_READCONFIGSETTING_STRING_VALUE=qbs_new(oldstr3717->len,0);
|
|
}
|
|
memcpy(_FUNC_READCONFIGSETTING_STRING_VALUE->chr,oldstr3717->chr,oldstr3717->len);
|
|
}
|
|
byte_element_struct *byte_element_3718=NULL;
|
|
if (!byte_element_3718){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3718=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3718=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|