mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 02:30:17 +00:00
37 lines
2.1 KiB
Text
37 lines
2.1 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*oldstr3756=NULL;
|
|
if(_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->tmp||_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->fixed||_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->readonly){
|
|
oldstr3756=_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION;
|
|
if (oldstr3756->cmem_descriptor){
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION=qbs_new_cmem(oldstr3756->len,0);
|
|
}else{
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION=qbs_new(oldstr3756->len,0);
|
|
}
|
|
memcpy(_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->chr,oldstr3756->chr,oldstr3756->len);
|
|
}
|
|
qbs*oldstr3757=NULL;
|
|
if(_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->tmp||_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->fixed||_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->readonly){
|
|
oldstr3757=_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING;
|
|
if (oldstr3757->cmem_descriptor){
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING=qbs_new_cmem(oldstr3757->len,0);
|
|
}else{
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING=qbs_new(oldstr3757->len,0);
|
|
}
|
|
memcpy(_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->chr,oldstr3757->chr,oldstr3757->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;
|
|
}
|