mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
37 lines
2 KiB
Text
37 lines
2 KiB
Text
int32 *_FUNC_READWRITELONGSETTINGVALUE_LONG_READWRITELONGSETTINGVALUE=NULL;
|
|
if(_FUNC_READWRITELONGSETTINGVALUE_LONG_READWRITELONGSETTINGVALUE==NULL){
|
|
_FUNC_READWRITELONGSETTINGVALUE_LONG_READWRITELONGSETTINGVALUE=(int32*)mem_static_malloc(4);
|
|
*_FUNC_READWRITELONGSETTINGVALUE_LONG_READWRITELONGSETTINGVALUE=0;
|
|
}
|
|
qbs*oldstr3777=NULL;
|
|
if(_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->tmp||_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->fixed||_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->readonly){
|
|
oldstr3777=_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION;
|
|
if (oldstr3777->cmem_descriptor){
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION=qbs_new_cmem(oldstr3777->len,0);
|
|
}else{
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION=qbs_new(oldstr3777->len,0);
|
|
}
|
|
memcpy(_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->chr,oldstr3777->chr,oldstr3777->len);
|
|
}
|
|
qbs*oldstr3778=NULL;
|
|
if(_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->tmp||_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->fixed||_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->readonly){
|
|
oldstr3778=_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING;
|
|
if (oldstr3778->cmem_descriptor){
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING=qbs_new_cmem(oldstr3778->len,0);
|
|
}else{
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING=qbs_new(oldstr3778->len,0);
|
|
}
|
|
memcpy(_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->chr,oldstr3778->chr,oldstr3778->len);
|
|
}
|
|
qbs *_FUNC_READWRITELONGSETTINGVALUE_STRING_VALUE=NULL;
|
|
if (!_FUNC_READWRITELONGSETTINGVALUE_STRING_VALUE)_FUNC_READWRITELONGSETTINGVALUE_STRING_VALUE=qbs_new(0,0);
|
|
int16 *_FUNC_READWRITELONGSETTINGVALUE_INTEGER_RESULT=NULL;
|
|
if(_FUNC_READWRITELONGSETTINGVALUE_INTEGER_RESULT==NULL){
|
|
_FUNC_READWRITELONGSETTINGVALUE_INTEGER_RESULT=(int16*)mem_static_malloc(2);
|
|
*_FUNC_READWRITELONGSETTINGVALUE_INTEGER_RESULT=0;
|
|
}
|
|
int32 *_FUNC_READWRITELONGSETTINGVALUE_LONG_CHECKRESULT=NULL;
|
|
if(_FUNC_READWRITELONGSETTINGVALUE_LONG_CHECKRESULT==NULL){
|
|
_FUNC_READWRITELONGSETTINGVALUE_LONG_CHECKRESULT=(int32*)mem_static_malloc(4);
|
|
*_FUNC_READWRITELONGSETTINGVALUE_LONG_CHECKRESULT=0;
|
|
}
|