mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
19 lines
817 B
Text
19 lines
817 B
Text
qbs*oldstr3947=NULL;
|
|
if(_SUB_INILOAD_STRING_FILE->tmp||_SUB_INILOAD_STRING_FILE->fixed||_SUB_INILOAD_STRING_FILE->readonly){
|
|
oldstr3947=_SUB_INILOAD_STRING_FILE;
|
|
if (oldstr3947->cmem_descriptor){
|
|
_SUB_INILOAD_STRING_FILE=qbs_new_cmem(oldstr3947->len,0);
|
|
}else{
|
|
_SUB_INILOAD_STRING_FILE=qbs_new(oldstr3947->len,0);
|
|
}
|
|
memcpy(_SUB_INILOAD_STRING_FILE->chr,oldstr3947->chr,oldstr3947->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_3948=NULL;
|
|
if (!byte_element_3948){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3948=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3948=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|