mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-08-31 00:40:16 +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*oldstr3720=NULL;
|
|
if(_FUNC_READCONFIGSETTING_STRING_SECTION->tmp||_FUNC_READCONFIGSETTING_STRING_SECTION->fixed||_FUNC_READCONFIGSETTING_STRING_SECTION->readonly){
|
|
oldstr3720=_FUNC_READCONFIGSETTING_STRING_SECTION;
|
|
if (oldstr3720->cmem_descriptor){
|
|
_FUNC_READCONFIGSETTING_STRING_SECTION=qbs_new_cmem(oldstr3720->len,0);
|
|
}else{
|
|
_FUNC_READCONFIGSETTING_STRING_SECTION=qbs_new(oldstr3720->len,0);
|
|
}
|
|
memcpy(_FUNC_READCONFIGSETTING_STRING_SECTION->chr,oldstr3720->chr,oldstr3720->len);
|
|
}
|
|
qbs*oldstr3721=NULL;
|
|
if(_FUNC_READCONFIGSETTING_STRING_ITEM->tmp||_FUNC_READCONFIGSETTING_STRING_ITEM->fixed||_FUNC_READCONFIGSETTING_STRING_ITEM->readonly){
|
|
oldstr3721=_FUNC_READCONFIGSETTING_STRING_ITEM;
|
|
if (oldstr3721->cmem_descriptor){
|
|
_FUNC_READCONFIGSETTING_STRING_ITEM=qbs_new_cmem(oldstr3721->len,0);
|
|
}else{
|
|
_FUNC_READCONFIGSETTING_STRING_ITEM=qbs_new(oldstr3721->len,0);
|
|
}
|
|
memcpy(_FUNC_READCONFIGSETTING_STRING_ITEM->chr,oldstr3721->chr,oldstr3721->len);
|
|
}
|
|
qbs*oldstr3722=NULL;
|
|
if(_FUNC_READCONFIGSETTING_STRING_VALUE->tmp||_FUNC_READCONFIGSETTING_STRING_VALUE->fixed||_FUNC_READCONFIGSETTING_STRING_VALUE->readonly){
|
|
oldstr3722=_FUNC_READCONFIGSETTING_STRING_VALUE;
|
|
if (oldstr3722->cmem_descriptor){
|
|
_FUNC_READCONFIGSETTING_STRING_VALUE=qbs_new_cmem(oldstr3722->len,0);
|
|
}else{
|
|
_FUNC_READCONFIGSETTING_STRING_VALUE=qbs_new(oldstr3722->len,0);
|
|
}
|
|
memcpy(_FUNC_READCONFIGSETTING_STRING_VALUE->chr,oldstr3722->chr,oldstr3722->len);
|
|
}
|
|
byte_element_struct *byte_element_3723=NULL;
|
|
if (!byte_element_3723){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3723=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3723=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|