1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-08-04 16:30:25 +00:00
QB64-PE/internal/source/data155.txt

27 lines
1.1 KiB
Text
Raw Normal View History

2023-05-22 19:46:34 +00:00
qbs*oldstr3951=NULL;
2023-03-24 21:04:26 +00:00
if(_SUB_BUFTOFILE_STRING_FILESPEC->tmp||_SUB_BUFTOFILE_STRING_FILESPEC->fixed||_SUB_BUFTOFILE_STRING_FILESPEC->readonly){
2023-05-22 19:46:34 +00:00
oldstr3951=_SUB_BUFTOFILE_STRING_FILESPEC;
if (oldstr3951->cmem_descriptor){
_SUB_BUFTOFILE_STRING_FILESPEC=qbs_new_cmem(oldstr3951->len,0);
2023-02-18 20:56:37 +00:00
}else{
2023-05-22 19:46:34 +00:00
_SUB_BUFTOFILE_STRING_FILESPEC=qbs_new(oldstr3951->len,0);
2023-02-18 20:56:37 +00:00
}
2023-05-22 19:46:34 +00:00
memcpy(_SUB_BUFTOFILE_STRING_FILESPEC->chr,oldstr3951->chr,oldstr3951->len);
2023-02-18 20:56:37 +00:00
}
2023-03-24 21:04:26 +00:00
int32 *_SUB_BUFTOFILE_LONG_BUF=NULL;
if(_SUB_BUFTOFILE_LONG_BUF==NULL){
_SUB_BUFTOFILE_LONG_BUF=(int32*)mem_static_malloc(4);
*_SUB_BUFTOFILE_LONG_BUF=0;
2023-02-18 20:56:37 +00:00
}
2023-03-24 21:04:26 +00:00
int16 *_SUB_BUFTOFILE_INTEGER_FF=NULL;
if(_SUB_BUFTOFILE_INTEGER_FF==NULL){
_SUB_BUFTOFILE_INTEGER_FF=(int16*)mem_static_malloc(2);
*_SUB_BUFTOFILE_INTEGER_FF=0;
2023-02-18 20:56:37 +00:00
}
2023-03-24 21:04:26 +00:00
qbs *_SUB_BUFTOFILE_STRING_DAT=NULL;
if (!_SUB_BUFTOFILE_STRING_DAT)_SUB_BUFTOFILE_STRING_DAT=qbs_new(0,0);
2023-05-22 19:46:34 +00:00
byte_element_struct *byte_element_3952=NULL;
if (!byte_element_3952){
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3952=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3952=(byte_element_struct*)mem_static_malloc(12);
2022-11-22 23:53:31 +00:00
}