mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 17:40:16 +00:00
30 lines
1.5 KiB
Text
30 lines
1.5 KiB
Text
qbs *_FUNC_IDEZGETFILEPATH_STRING_IDEZGETFILEPATH=NULL;
|
|
if (!_FUNC_IDEZGETFILEPATH_STRING_IDEZGETFILEPATH)_FUNC_IDEZGETFILEPATH_STRING_IDEZGETFILEPATH=qbs_new(0,0);
|
|
qbs*oldstr5100=NULL;
|
|
if(_FUNC_IDEZGETFILEPATH_STRING_ROOT->tmp||_FUNC_IDEZGETFILEPATH_STRING_ROOT->fixed||_FUNC_IDEZGETFILEPATH_STRING_ROOT->readonly){
|
|
oldstr5100=_FUNC_IDEZGETFILEPATH_STRING_ROOT;
|
|
if (oldstr5100->cmem_descriptor){
|
|
_FUNC_IDEZGETFILEPATH_STRING_ROOT=qbs_new_cmem(oldstr5100->len,0);
|
|
}else{
|
|
_FUNC_IDEZGETFILEPATH_STRING_ROOT=qbs_new(oldstr5100->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEZGETFILEPATH_STRING_ROOT->chr,oldstr5100->chr,oldstr5100->len);
|
|
}
|
|
qbs*oldstr5101=NULL;
|
|
if(_FUNC_IDEZGETFILEPATH_STRING_F->tmp||_FUNC_IDEZGETFILEPATH_STRING_F->fixed||_FUNC_IDEZGETFILEPATH_STRING_F->readonly){
|
|
oldstr5101=_FUNC_IDEZGETFILEPATH_STRING_F;
|
|
if (oldstr5101->cmem_descriptor){
|
|
_FUNC_IDEZGETFILEPATH_STRING_F=qbs_new_cmem(oldstr5101->len,0);
|
|
}else{
|
|
_FUNC_IDEZGETFILEPATH_STRING_F=qbs_new(oldstr5101->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEZGETFILEPATH_STRING_F->chr,oldstr5101->chr,oldstr5101->len);
|
|
}
|
|
qbs *_FUNC_IDEZGETFILEPATH_STRING_P=NULL;
|
|
if (!_FUNC_IDEZGETFILEPATH_STRING_P)_FUNC_IDEZGETFILEPATH_STRING_P=qbs_new(0,0);
|
|
byte_element_struct *byte_element_5102=NULL;
|
|
if (!byte_element_5102){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_5102=(byte_element_struct*)(mem_static_pointer-12); else byte_element_5102=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
qbs *_FUNC_IDEZGETFILEPATH_STRING_P2=NULL;
|
|
if (!_FUNC_IDEZGETFILEPATH_STRING_P2)_FUNC_IDEZGETFILEPATH_STRING_P2=qbs_new(0,0);
|