mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-28 11:17:46 +00:00
40 lines
1.9 KiB
Text
40 lines
1.9 KiB
Text
qbs *_FUNC_DOWNLOAD_STRING_DOWNLOAD=NULL;
|
|
if (!_FUNC_DOWNLOAD_STRING_DOWNLOAD)_FUNC_DOWNLOAD_STRING_DOWNLOAD=qbs_new(0,0);
|
|
qbs*oldstr6534=NULL;
|
|
if(_FUNC_DOWNLOAD_STRING_URL->tmp||_FUNC_DOWNLOAD_STRING_URL->fixed||_FUNC_DOWNLOAD_STRING_URL->readonly){
|
|
oldstr6534=_FUNC_DOWNLOAD_STRING_URL;
|
|
if (oldstr6534->cmem_descriptor){
|
|
_FUNC_DOWNLOAD_STRING_URL=qbs_new_cmem(oldstr6534->len,0);
|
|
}else{
|
|
_FUNC_DOWNLOAD_STRING_URL=qbs_new(oldstr6534->len,0);
|
|
}
|
|
memcpy(_FUNC_DOWNLOAD_STRING_URL->chr,oldstr6534->chr,oldstr6534->len);
|
|
}
|
|
qbs*oldstr6535=NULL;
|
|
if(_FUNC_DOWNLOAD_STRING_OUTPUTVAR->tmp||_FUNC_DOWNLOAD_STRING_OUTPUTVAR->fixed||_FUNC_DOWNLOAD_STRING_OUTPUTVAR->readonly){
|
|
oldstr6535=_FUNC_DOWNLOAD_STRING_OUTPUTVAR;
|
|
if (oldstr6535->cmem_descriptor){
|
|
_FUNC_DOWNLOAD_STRING_OUTPUTVAR=qbs_new_cmem(oldstr6535->len,0);
|
|
}else{
|
|
_FUNC_DOWNLOAD_STRING_OUTPUTVAR=qbs_new(oldstr6535->len,0);
|
|
}
|
|
memcpy(_FUNC_DOWNLOAD_STRING_OUTPUTVAR->chr,oldstr6535->chr,oldstr6535->len);
|
|
}
|
|
qbs*oldstr6536=NULL;
|
|
if(_FUNC_DOWNLOAD_STRING_LOOKFOR->tmp||_FUNC_DOWNLOAD_STRING_LOOKFOR->fixed||_FUNC_DOWNLOAD_STRING_LOOKFOR->readonly){
|
|
oldstr6536=_FUNC_DOWNLOAD_STRING_LOOKFOR;
|
|
if (oldstr6536->cmem_descriptor){
|
|
_FUNC_DOWNLOAD_STRING_LOOKFOR=qbs_new_cmem(oldstr6536->len,0);
|
|
}else{
|
|
_FUNC_DOWNLOAD_STRING_LOOKFOR=qbs_new(oldstr6536->len,0);
|
|
}
|
|
memcpy(_FUNC_DOWNLOAD_STRING_LOOKFOR->chr,oldstr6536->chr,oldstr6536->len);
|
|
}
|
|
byte_element_struct *byte_element_6537=NULL;
|
|
if (!byte_element_6537){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6537=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6537=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_6538=NULL;
|
|
if (!byte_element_6538){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6538=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6538=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|