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