mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-06 21:00:25 +00:00
39 lines
1.7 KiB
Plaintext
39 lines
1.7 KiB
Plaintext
qbs*oldstr3895=NULL;
|
|
if(_SUB_WRITEBUFRAWDATA_STRING_RAWDATA->tmp||_SUB_WRITEBUFRAWDATA_STRING_RAWDATA->fixed||_SUB_WRITEBUFRAWDATA_STRING_RAWDATA->readonly){
|
|
oldstr3895=_SUB_WRITEBUFRAWDATA_STRING_RAWDATA;
|
|
if (oldstr3895->cmem_descriptor){
|
|
_SUB_WRITEBUFRAWDATA_STRING_RAWDATA=qbs_new_cmem(oldstr3895->len,0);
|
|
}else{
|
|
_SUB_WRITEBUFRAWDATA_STRING_RAWDATA=qbs_new(oldstr3895->len,0);
|
|
}
|
|
memcpy(_SUB_WRITEBUFRAWDATA_STRING_RAWDATA->chr,oldstr3895->chr,oldstr3895->len);
|
|
}
|
|
int32 *_SUB_WRITEBUFRAWDATA_LONG_BUF=NULL;
|
|
if(_SUB_WRITEBUFRAWDATA_LONG_BUF==NULL){
|
|
_SUB_WRITEBUFRAWDATA_LONG_BUF=(int32*)mem_static_malloc(4);
|
|
*_SUB_WRITEBUFRAWDATA_LONG_BUF=0;
|
|
}
|
|
int32 *_SUB_WRITEBUFRAWDATA_LONG_CUR=NULL;
|
|
if(_SUB_WRITEBUFRAWDATA_LONG_CUR==NULL){
|
|
_SUB_WRITEBUFRAWDATA_LONG_CUR=(int32*)mem_static_malloc(4);
|
|
*_SUB_WRITEBUFRAWDATA_LONG_CUR=0;
|
|
}
|
|
int32 *_SUB_WRITEBUFRAWDATA_LONG_RDL=NULL;
|
|
if(_SUB_WRITEBUFRAWDATA_LONG_RDL==NULL){
|
|
_SUB_WRITEBUFRAWDATA_LONG_RDL=(int32*)mem_static_malloc(4);
|
|
*_SUB_WRITEBUFRAWDATA_LONG_RDL=0;
|
|
}
|
|
int64 *_SUB_WRITEBUFRAWDATA_INTEGER64_CBL=NULL;
|
|
if(_SUB_WRITEBUFRAWDATA_INTEGER64_CBL==NULL){
|
|
_SUB_WRITEBUFRAWDATA_INTEGER64_CBL=(int64*)mem_static_malloc(8);
|
|
*_SUB_WRITEBUFRAWDATA_INTEGER64_CBL=0;
|
|
}
|
|
byte_element_struct *byte_element_3896=NULL;
|
|
if (!byte_element_3896){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3896=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3896=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_3898=NULL;
|
|
if (!byte_element_3898){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3898=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3898=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|