mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 15:10:18 +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*oldstr3794=NULL;
|
|
if(_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->tmp||_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->fixed||_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->readonly){
|
|
oldstr3794=_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION;
|
|
if (oldstr3794->cmem_descriptor){
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION=qbs_new_cmem(oldstr3794->len,0);
|
|
}else{
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION=qbs_new(oldstr3794->len,0);
|
|
}
|
|
memcpy(_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->chr,oldstr3794->chr,oldstr3794->len);
|
|
}
|
|
qbs*oldstr3795=NULL;
|
|
if(_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->tmp||_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->fixed||_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->readonly){
|
|
oldstr3795=_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING;
|
|
if (oldstr3795->cmem_descriptor){
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING=qbs_new_cmem(oldstr3795->len,0);
|
|
}else{
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING=qbs_new(oldstr3795->len,0);
|
|
}
|
|
memcpy(_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->chr,oldstr3795->chr,oldstr3795->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;
|
|
}
|