mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
39 lines
2.3 KiB
Text
39 lines
2.3 KiB
Text
qbs *_FUNC_READWRITESTRINGSETTINGVALUE_STRING_READWRITESTRINGSETTINGVALUE=NULL;
|
|
if (!_FUNC_READWRITESTRINGSETTINGVALUE_STRING_READWRITESTRINGSETTINGVALUE)_FUNC_READWRITESTRINGSETTINGVALUE_STRING_READWRITESTRINGSETTINGVALUE=qbs_new(0,0);
|
|
qbs*oldstr3783=NULL;
|
|
if(_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SECTION->tmp||_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SECTION->fixed||_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SECTION->readonly){
|
|
oldstr3783=_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SECTION;
|
|
if (oldstr3783->cmem_descriptor){
|
|
_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SECTION=qbs_new_cmem(oldstr3783->len,0);
|
|
}else{
|
|
_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SECTION=qbs_new(oldstr3783->len,0);
|
|
}
|
|
memcpy(_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SECTION->chr,oldstr3783->chr,oldstr3783->len);
|
|
}
|
|
qbs*oldstr3784=NULL;
|
|
if(_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SETTING->tmp||_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SETTING->fixed||_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SETTING->readonly){
|
|
oldstr3784=_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SETTING;
|
|
if (oldstr3784->cmem_descriptor){
|
|
_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SETTING=qbs_new_cmem(oldstr3784->len,0);
|
|
}else{
|
|
_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SETTING=qbs_new(oldstr3784->len,0);
|
|
}
|
|
memcpy(_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SETTING->chr,oldstr3784->chr,oldstr3784->len);
|
|
}
|
|
qbs*oldstr3785=NULL;
|
|
if(_FUNC_READWRITESTRINGSETTINGVALUE_STRING_DEFAULT->tmp||_FUNC_READWRITESTRINGSETTINGVALUE_STRING_DEFAULT->fixed||_FUNC_READWRITESTRINGSETTINGVALUE_STRING_DEFAULT->readonly){
|
|
oldstr3785=_FUNC_READWRITESTRINGSETTINGVALUE_STRING_DEFAULT;
|
|
if (oldstr3785->cmem_descriptor){
|
|
_FUNC_READWRITESTRINGSETTINGVALUE_STRING_DEFAULT=qbs_new_cmem(oldstr3785->len,0);
|
|
}else{
|
|
_FUNC_READWRITESTRINGSETTINGVALUE_STRING_DEFAULT=qbs_new(oldstr3785->len,0);
|
|
}
|
|
memcpy(_FUNC_READWRITESTRINGSETTINGVALUE_STRING_DEFAULT->chr,oldstr3785->chr,oldstr3785->len);
|
|
}
|
|
qbs *_FUNC_READWRITESTRINGSETTINGVALUE_STRING_VALUE=NULL;
|
|
if (!_FUNC_READWRITESTRINGSETTINGVALUE_STRING_VALUE)_FUNC_READWRITESTRINGSETTINGVALUE_STRING_VALUE=qbs_new(0,0);
|
|
int16 *_FUNC_READWRITESTRINGSETTINGVALUE_INTEGER_RESULT=NULL;
|
|
if(_FUNC_READWRITESTRINGSETTINGVALUE_INTEGER_RESULT==NULL){
|
|
_FUNC_READWRITESTRINGSETTINGVALUE_INTEGER_RESULT=(int16*)mem_static_malloc(2);
|
|
*_FUNC_READWRITESTRINGSETTINGVALUE_INTEGER_RESULT=0;
|
|
}
|