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*oldstr3785=NULL;
|
|
if(_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SECTION->tmp||_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SECTION->fixed||_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SECTION->readonly){
|
|
oldstr3785=_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SECTION;
|
|
if (oldstr3785->cmem_descriptor){
|
|
_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SECTION=qbs_new_cmem(oldstr3785->len,0);
|
|
}else{
|
|
_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SECTION=qbs_new(oldstr3785->len,0);
|
|
}
|
|
memcpy(_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SECTION->chr,oldstr3785->chr,oldstr3785->len);
|
|
}
|
|
qbs*oldstr3786=NULL;
|
|
if(_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SETTING->tmp||_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SETTING->fixed||_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SETTING->readonly){
|
|
oldstr3786=_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SETTING;
|
|
if (oldstr3786->cmem_descriptor){
|
|
_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SETTING=qbs_new_cmem(oldstr3786->len,0);
|
|
}else{
|
|
_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SETTING=qbs_new(oldstr3786->len,0);
|
|
}
|
|
memcpy(_FUNC_READWRITESTRINGSETTINGVALUE_STRING_SETTING->chr,oldstr3786->chr,oldstr3786->len);
|
|
}
|
|
qbs*oldstr3787=NULL;
|
|
if(_FUNC_READWRITESTRINGSETTINGVALUE_STRING_DEFAULT->tmp||_FUNC_READWRITESTRINGSETTINGVALUE_STRING_DEFAULT->fixed||_FUNC_READWRITESTRINGSETTINGVALUE_STRING_DEFAULT->readonly){
|
|
oldstr3787=_FUNC_READWRITESTRINGSETTINGVALUE_STRING_DEFAULT;
|
|
if (oldstr3787->cmem_descriptor){
|
|
_FUNC_READWRITESTRINGSETTINGVALUE_STRING_DEFAULT=qbs_new_cmem(oldstr3787->len,0);
|
|
}else{
|
|
_FUNC_READWRITESTRINGSETTINGVALUE_STRING_DEFAULT=qbs_new(oldstr3787->len,0);
|
|
}
|
|
memcpy(_FUNC_READWRITESTRINGSETTINGVALUE_STRING_DEFAULT->chr,oldstr3787->chr,oldstr3787->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;
|
|
}
|