mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 04:25:08 +00:00
19 lines
836 B
Text
19 lines
836 B
Text
qbs*oldstr3903=NULL;
|
|
if(_SUB_INILOAD_STRING_FILE->tmp||_SUB_INILOAD_STRING_FILE->fixed||_SUB_INILOAD_STRING_FILE->readonly){
|
|
oldstr3903=_SUB_INILOAD_STRING_FILE;
|
|
if (oldstr3903->cmem_descriptor){
|
|
_SUB_INILOAD_STRING_FILE=qbs_new_cmem(oldstr3903->len,0);
|
|
}else{
|
|
_SUB_INILOAD_STRING_FILE=qbs_new(oldstr3903->len,0);
|
|
}
|
|
memcpy(_SUB_INILOAD_STRING_FILE->chr,oldstr3903->chr,oldstr3903->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_3904=NULL;
|
|
if (!byte_element_3904){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3904=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3904=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|