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