1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-08-05 07:40:25 +00:00
QB64-PE/internal/source/data121.txt

47 lines
2 KiB
Text
Raw Normal View History

2022-09-09 12:19:17 +00:00
int32 *_FUNC_COPYFILE_LONG_COPYFILE=NULL;
if(_FUNC_COPYFILE_LONG_COPYFILE==NULL){
_FUNC_COPYFILE_LONG_COPYFILE=(int32*)mem_static_malloc(4);
*_FUNC_COPYFILE_LONG_COPYFILE=0;
}
2022-10-02 22:25:45 +00:00
qbs*oldstr3778=NULL;
2022-09-09 12:19:17 +00:00
if(_FUNC_COPYFILE_STRING_SOURCEFILE->tmp||_FUNC_COPYFILE_STRING_SOURCEFILE->fixed||_FUNC_COPYFILE_STRING_SOURCEFILE->readonly){
2022-10-02 22:25:45 +00:00
oldstr3778=_FUNC_COPYFILE_STRING_SOURCEFILE;
if (oldstr3778->cmem_descriptor){
_FUNC_COPYFILE_STRING_SOURCEFILE=qbs_new_cmem(oldstr3778->len,0);
2022-09-09 12:19:17 +00:00
}else{
2022-10-02 22:25:45 +00:00
_FUNC_COPYFILE_STRING_SOURCEFILE=qbs_new(oldstr3778->len,0);
2022-09-09 12:19:17 +00:00
}
2022-10-02 22:25:45 +00:00
memcpy(_FUNC_COPYFILE_STRING_SOURCEFILE->chr,oldstr3778->chr,oldstr3778->len);
2022-09-09 12:19:17 +00:00
}
2022-10-02 22:25:45 +00:00
qbs*oldstr3779=NULL;
2022-09-09 12:19:17 +00:00
if(_FUNC_COPYFILE_STRING_DESTFILE->tmp||_FUNC_COPYFILE_STRING_DESTFILE->fixed||_FUNC_COPYFILE_STRING_DESTFILE->readonly){
2022-10-02 22:25:45 +00:00
oldstr3779=_FUNC_COPYFILE_STRING_DESTFILE;
if (oldstr3779->cmem_descriptor){
_FUNC_COPYFILE_STRING_DESTFILE=qbs_new_cmem(oldstr3779->len,0);
2022-08-26 14:13:09 +00:00
}else{
2022-10-02 22:25:45 +00:00
_FUNC_COPYFILE_STRING_DESTFILE=qbs_new(oldstr3779->len,0);
2022-09-09 12:19:17 +00:00
}
2022-10-02 22:25:45 +00:00
memcpy(_FUNC_COPYFILE_STRING_DESTFILE->chr,oldstr3779->chr,oldstr3779->len);
2022-09-09 12:19:17 +00:00
}
int32 *_FUNC_COPYFILE_LONG_SOURCEFILENO=NULL;
if(_FUNC_COPYFILE_LONG_SOURCEFILENO==NULL){
_FUNC_COPYFILE_LONG_SOURCEFILENO=(int32*)mem_static_malloc(4);
*_FUNC_COPYFILE_LONG_SOURCEFILENO=0;
}
int32 *_FUNC_COPYFILE_LONG_DESTFILENO=NULL;
if(_FUNC_COPYFILE_LONG_DESTFILENO==NULL){
_FUNC_COPYFILE_LONG_DESTFILENO=(int32*)mem_static_malloc(4);
*_FUNC_COPYFILE_LONG_DESTFILENO=0;
}
int64 *_FUNC_COPYFILE_INTEGER64_FILELENGTH=NULL;
if(_FUNC_COPYFILE_INTEGER64_FILELENGTH==NULL){
_FUNC_COPYFILE_INTEGER64_FILELENGTH=(int64*)mem_static_malloc(8);
*_FUNC_COPYFILE_INTEGER64_FILELENGTH=0;
2022-08-26 14:13:09 +00:00
}
2022-09-09 12:19:17 +00:00
qbs *_FUNC_COPYFILE_STRING_BUFFER=NULL;
if (!_FUNC_COPYFILE_STRING_BUFFER)_FUNC_COPYFILE_STRING_BUFFER=qbs_new(0,0);
2022-10-02 22:25:45 +00:00
byte_element_struct *byte_element_3780=NULL;
if (!byte_element_3780){
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3780=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3780=(byte_element_struct*)mem_static_malloc(12);
2022-08-26 14:13:09 +00:00
}