mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-31 12:20:16 +00:00
60 lines
2.9 KiB
Text
60 lines
2.9 KiB
Text
qbs*oldstr3521=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_STRING_HEADING->tmp||_SUB_WRITECONFIGSETTING_STRING_HEADING->fixed||_SUB_WRITECONFIGSETTING_STRING_HEADING->readonly){
|
|
oldstr3521=_SUB_WRITECONFIGSETTING_STRING_HEADING;
|
|
if (oldstr3521->cmem_descriptor){
|
|
_SUB_WRITECONFIGSETTING_STRING_HEADING=qbs_new_cmem(oldstr3521->len,0);
|
|
}else{
|
|
_SUB_WRITECONFIGSETTING_STRING_HEADING=qbs_new(oldstr3521->len,0);
|
|
}
|
|
memcpy(_SUB_WRITECONFIGSETTING_STRING_HEADING->chr,oldstr3521->chr,oldstr3521->len);
|
|
}
|
|
qbs*oldstr3522=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_STRING_ITEM->tmp||_SUB_WRITECONFIGSETTING_STRING_ITEM->fixed||_SUB_WRITECONFIGSETTING_STRING_ITEM->readonly){
|
|
oldstr3522=_SUB_WRITECONFIGSETTING_STRING_ITEM;
|
|
if (oldstr3522->cmem_descriptor){
|
|
_SUB_WRITECONFIGSETTING_STRING_ITEM=qbs_new_cmem(oldstr3522->len,0);
|
|
}else{
|
|
_SUB_WRITECONFIGSETTING_STRING_ITEM=qbs_new(oldstr3522->len,0);
|
|
}
|
|
memcpy(_SUB_WRITECONFIGSETTING_STRING_ITEM->chr,oldstr3522->chr,oldstr3522->len);
|
|
}
|
|
qbs*oldstr3523=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_STRING_TVALUE->tmp||_SUB_WRITECONFIGSETTING_STRING_TVALUE->fixed||_SUB_WRITECONFIGSETTING_STRING_TVALUE->readonly){
|
|
oldstr3523=_SUB_WRITECONFIGSETTING_STRING_TVALUE;
|
|
if (oldstr3523->cmem_descriptor){
|
|
_SUB_WRITECONFIGSETTING_STRING_TVALUE=qbs_new_cmem(oldstr3523->len,0);
|
|
}else{
|
|
_SUB_WRITECONFIGSETTING_STRING_TVALUE=qbs_new(oldstr3523->len,0);
|
|
}
|
|
memcpy(_SUB_WRITECONFIGSETTING_STRING_TVALUE->chr,oldstr3523->chr,oldstr3523->len);
|
|
}
|
|
qbs *_SUB_WRITECONFIGSETTING_STRING_VALUE=NULL;
|
|
if (!_SUB_WRITECONFIGSETTING_STRING_VALUE)_SUB_WRITECONFIGSETTING_STRING_VALUE=qbs_new(0,0);
|
|
int32 *_SUB_WRITECONFIGSETTING_LONG_INFILE=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_LONG_INFILE==NULL){
|
|
_SUB_WRITECONFIGSETTING_LONG_INFILE=(int32*)mem_static_malloc(4);
|
|
*_SUB_WRITECONFIGSETTING_LONG_INFILE=0;
|
|
}
|
|
int32 *_SUB_WRITECONFIGSETTING_LONG_OUTFILE=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_LONG_OUTFILE==NULL){
|
|
_SUB_WRITECONFIGSETTING_LONG_OUTFILE=(int32*)mem_static_malloc(4);
|
|
*_SUB_WRITECONFIGSETTING_LONG_OUTFILE=0;
|
|
}
|
|
int32 *_SUB_WRITECONFIGSETTING_LONG_PLACED=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_LONG_PLACED==NULL){
|
|
_SUB_WRITECONFIGSETTING_LONG_PLACED=(int32*)mem_static_malloc(4);
|
|
*_SUB_WRITECONFIGSETTING_LONG_PLACED=0;
|
|
}
|
|
qbs *_SUB_WRITECONFIGSETTING_STRING_JUNK=NULL;
|
|
if (!_SUB_WRITECONFIGSETTING_STRING_JUNK)_SUB_WRITECONFIGSETTING_STRING_JUNK=qbs_new(0,0);
|
|
int32 *_SUB_WRITECONFIGSETTING_LONG_L=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_LONG_L==NULL){
|
|
_SUB_WRITECONFIGSETTING_LONG_L=(int32*)mem_static_malloc(4);
|
|
*_SUB_WRITECONFIGSETTING_LONG_L=0;
|
|
}
|
|
qbs *_SUB_WRITECONFIGSETTING_STRING_COMPARE=NULL;
|
|
if (!_SUB_WRITECONFIGSETTING_STRING_COMPARE)_SUB_WRITECONFIGSETTING_STRING_COMPARE=qbs_new(0,0);
|
|
qbs *_SUB_WRITECONFIGSETTING_STRING_OUT=NULL;
|
|
if (!_SUB_WRITECONFIGSETTING_STRING_OUT)_SUB_WRITECONFIGSETTING_STRING_OUT=qbs_new(0,0);
|
|
qbs *_SUB_WRITECONFIGSETTING_STRING_TEMP=NULL;
|
|
if (!_SUB_WRITECONFIGSETTING_STRING_TEMP)_SUB_WRITECONFIGSETTING_STRING_TEMP=qbs_new(0,0);
|