mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 09:05:08 +00:00
60 lines
2.9 KiB
Text
60 lines
2.9 KiB
Text
qbs*oldstr3476=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_STRING_HEADING->tmp||_SUB_WRITECONFIGSETTING_STRING_HEADING->fixed||_SUB_WRITECONFIGSETTING_STRING_HEADING->readonly){
|
|
oldstr3476=_SUB_WRITECONFIGSETTING_STRING_HEADING;
|
|
if (oldstr3476->cmem_descriptor){
|
|
_SUB_WRITECONFIGSETTING_STRING_HEADING=qbs_new_cmem(oldstr3476->len,0);
|
|
}else{
|
|
_SUB_WRITECONFIGSETTING_STRING_HEADING=qbs_new(oldstr3476->len,0);
|
|
}
|
|
memcpy(_SUB_WRITECONFIGSETTING_STRING_HEADING->chr,oldstr3476->chr,oldstr3476->len);
|
|
}
|
|
qbs*oldstr3477=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_STRING_ITEM->tmp||_SUB_WRITECONFIGSETTING_STRING_ITEM->fixed||_SUB_WRITECONFIGSETTING_STRING_ITEM->readonly){
|
|
oldstr3477=_SUB_WRITECONFIGSETTING_STRING_ITEM;
|
|
if (oldstr3477->cmem_descriptor){
|
|
_SUB_WRITECONFIGSETTING_STRING_ITEM=qbs_new_cmem(oldstr3477->len,0);
|
|
}else{
|
|
_SUB_WRITECONFIGSETTING_STRING_ITEM=qbs_new(oldstr3477->len,0);
|
|
}
|
|
memcpy(_SUB_WRITECONFIGSETTING_STRING_ITEM->chr,oldstr3477->chr,oldstr3477->len);
|
|
}
|
|
qbs*oldstr3478=NULL;
|
|
if(_SUB_WRITECONFIGSETTING_STRING_TVALUE->tmp||_SUB_WRITECONFIGSETTING_STRING_TVALUE->fixed||_SUB_WRITECONFIGSETTING_STRING_TVALUE->readonly){
|
|
oldstr3478=_SUB_WRITECONFIGSETTING_STRING_TVALUE;
|
|
if (oldstr3478->cmem_descriptor){
|
|
_SUB_WRITECONFIGSETTING_STRING_TVALUE=qbs_new_cmem(oldstr3478->len,0);
|
|
}else{
|
|
_SUB_WRITECONFIGSETTING_STRING_TVALUE=qbs_new(oldstr3478->len,0);
|
|
}
|
|
memcpy(_SUB_WRITECONFIGSETTING_STRING_TVALUE->chr,oldstr3478->chr,oldstr3478->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);
|