mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-28 11:17:47 +00:00
19 lines
836 B
Text
19 lines
836 B
Text
qbs*oldstr3917=NULL;
|
|
if(_SUB_INILOAD_STRING_FILE->tmp||_SUB_INILOAD_STRING_FILE->fixed||_SUB_INILOAD_STRING_FILE->readonly){
|
|
oldstr3917=_SUB_INILOAD_STRING_FILE;
|
|
if (oldstr3917->cmem_descriptor){
|
|
_SUB_INILOAD_STRING_FILE=qbs_new_cmem(oldstr3917->len,0);
|
|
}else{
|
|
_SUB_INILOAD_STRING_FILE=qbs_new(oldstr3917->len,0);
|
|
}
|
|
memcpy(_SUB_INILOAD_STRING_FILE->chr,oldstr3917->chr,oldstr3917->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_3918=NULL;
|
|
if (!byte_element_3918){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3918=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3918=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|