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