1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-09-20 09:04:43 +00:00
QB64-PE/internal/source/data82.txt

47 lines
2 KiB
Text
Raw Normal View History

2024-02-03 22:11:15 +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;
2024-01-30 21:55:38 +00:00
}
2024-03-25 13:22:46 +00:00
qbs*oldstr3574=NULL;
2024-02-03 22:11:15 +00:00
if(_FUNC_COPYFILE_STRING_SOURCEFILE->tmp||_FUNC_COPYFILE_STRING_SOURCEFILE->fixed||_FUNC_COPYFILE_STRING_SOURCEFILE->readonly){
2024-03-25 13:22:46 +00:00
oldstr3574=_FUNC_COPYFILE_STRING_SOURCEFILE;
if (oldstr3574->cmem_descriptor){
_FUNC_COPYFILE_STRING_SOURCEFILE=qbs_new_cmem(oldstr3574->len,0);
2024-01-20 16:04:21 +00:00
}else{
2024-03-25 13:22:46 +00:00
_FUNC_COPYFILE_STRING_SOURCEFILE=qbs_new(oldstr3574->len,0);
2024-02-03 22:11:15 +00:00
}
2024-03-25 13:22:46 +00:00
memcpy(_FUNC_COPYFILE_STRING_SOURCEFILE->chr,oldstr3574->chr,oldstr3574->len);
2024-02-03 22:11:15 +00:00
}
2024-03-25 13:22:46 +00:00
qbs*oldstr3575=NULL;
2024-02-03 22:11:15 +00:00
if(_FUNC_COPYFILE_STRING_DESTFILE->tmp||_FUNC_COPYFILE_STRING_DESTFILE->fixed||_FUNC_COPYFILE_STRING_DESTFILE->readonly){
2024-03-25 13:22:46 +00:00
oldstr3575=_FUNC_COPYFILE_STRING_DESTFILE;
if (oldstr3575->cmem_descriptor){
_FUNC_COPYFILE_STRING_DESTFILE=qbs_new_cmem(oldstr3575->len,0);
2024-02-03 22:11:15 +00:00
}else{
2024-03-25 13:22:46 +00:00
_FUNC_COPYFILE_STRING_DESTFILE=qbs_new(oldstr3575->len,0);
2024-02-03 22:11:15 +00:00
}
2024-03-25 13:22:46 +00:00
memcpy(_FUNC_COPYFILE_STRING_DESTFILE->chr,oldstr3575->chr,oldstr3575->len);
2024-02-03 22:11:15 +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;
}
qbs *_FUNC_COPYFILE_STRING_BUFFER=NULL;
if (!_FUNC_COPYFILE_STRING_BUFFER)_FUNC_COPYFILE_STRING_BUFFER=qbs_new(0,0);
2024-03-25 13:22:46 +00:00
byte_element_struct *byte_element_3576=NULL;
if (!byte_element_3576){
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3576=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3576=(byte_element_struct*)mem_static_malloc(12);
2022-08-26 14:13:09 +00:00
}