mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 15:10:18 +00:00
19 lines
817 B
Text
19 lines
817 B
Text
qbs*oldstr3915=NULL;
|
|
if(_SUB_INILOAD_STRING_FILE->tmp||_SUB_INILOAD_STRING_FILE->fixed||_SUB_INILOAD_STRING_FILE->readonly){
|
|
oldstr3915=_SUB_INILOAD_STRING_FILE;
|
|
if (oldstr3915->cmem_descriptor){
|
|
_SUB_INILOAD_STRING_FILE=qbs_new_cmem(oldstr3915->len,0);
|
|
}else{
|
|
_SUB_INILOAD_STRING_FILE=qbs_new(oldstr3915->len,0);
|
|
}
|
|
memcpy(_SUB_INILOAD_STRING_FILE->chr,oldstr3915->chr,oldstr3915->len);
|
|
}
|
|
int16 *_SUB_INILOAD_INTEGER_FILENUM=NULL;
|
|
if(_SUB_INILOAD_INTEGER_FILENUM==NULL){
|
|
_SUB_INILOAD_INTEGER_FILENUM=(int16*)mem_static_malloc(2);
|
|
*_SUB_INILOAD_INTEGER_FILENUM=0;
|
|
}
|
|
byte_element_struct *byte_element_3916=NULL;
|
|
if (!byte_element_3916){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3916=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3916=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|