mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 09:30:15 +00:00
21 lines
960 B
Text
21 lines
960 B
Text
qbs *_FUNC_DECOMPRESS_STRING_DECOMPRESS=NULL;
|
|
if (!_FUNC_DECOMPRESS_STRING_DECOMPRESS)_FUNC_DECOMPRESS_STRING_DECOMPRESS=qbs_new(0,0);
|
|
qbs*oldstr4461=NULL;
|
|
if(_FUNC_DECOMPRESS_STRING_A->tmp||_FUNC_DECOMPRESS_STRING_A->fixed||_FUNC_DECOMPRESS_STRING_A->readonly){
|
|
oldstr4461=_FUNC_DECOMPRESS_STRING_A;
|
|
if (oldstr4461->cmem_descriptor){
|
|
_FUNC_DECOMPRESS_STRING_A=qbs_new_cmem(oldstr4461->len,0);
|
|
}else{
|
|
_FUNC_DECOMPRESS_STRING_A=qbs_new(oldstr4461->len,0);
|
|
}
|
|
memcpy(_FUNC_DECOMPRESS_STRING_A->chr,oldstr4461->chr,oldstr4461->len);
|
|
}
|
|
int32 *_FUNC_DECOMPRESS_LONG_X=NULL;
|
|
if(_FUNC_DECOMPRESS_LONG_X==NULL){
|
|
_FUNC_DECOMPRESS_LONG_X=(int32*)mem_static_malloc(4);
|
|
*_FUNC_DECOMPRESS_LONG_X=0;
|
|
}
|
|
byte_element_struct *byte_element_4463=NULL;
|
|
if (!byte_element_4463){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4463=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4463=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|