mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 11:25:08 +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*oldstr3812=NULL;
|
|
if(_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->tmp||_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->fixed||_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->readonly){
|
|
oldstr3812=_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION;
|
|
if (oldstr3812->cmem_descriptor){
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION=qbs_new_cmem(oldstr3812->len,0);
|
|
}else{
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION=qbs_new(oldstr3812->len,0);
|
|
}
|
|
memcpy(_FUNC_READWRITELONGSETTINGVALUE_STRING_SECTION->chr,oldstr3812->chr,oldstr3812->len);
|
|
}
|
|
qbs*oldstr3813=NULL;
|
|
if(_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->tmp||_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->fixed||_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->readonly){
|
|
oldstr3813=_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING;
|
|
if (oldstr3813->cmem_descriptor){
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING=qbs_new_cmem(oldstr3813->len,0);
|
|
}else{
|
|
_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING=qbs_new(oldstr3813->len,0);
|
|
}
|
|
memcpy(_FUNC_READWRITELONGSETTINGVALUE_STRING_SETTING->chr,oldstr3813->chr,oldstr3813->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;
|
|
}
|