mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-04 11:10:15 +00:00
44 lines
1.9 KiB
Text
44 lines
1.9 KiB
Text
qbs *_FUNC_READCHUNK_STRING_READCHUNK=NULL;
|
|
if (!_FUNC_READCHUNK_STRING_READCHUNK)_FUNC_READCHUNK_STRING_READCHUNK=qbs_new(0,0);
|
|
qbs*oldstr4701=NULL;
|
|
if(_FUNC_READCHUNK_STRING_A->tmp||_FUNC_READCHUNK_STRING_A->fixed||_FUNC_READCHUNK_STRING_A->readonly){
|
|
oldstr4701=_FUNC_READCHUNK_STRING_A;
|
|
if (oldstr4701->cmem_descriptor){
|
|
_FUNC_READCHUNK_STRING_A=qbs_new_cmem(oldstr4701->len,0);
|
|
}else{
|
|
_FUNC_READCHUNK_STRING_A=qbs_new(oldstr4701->len,0);
|
|
}
|
|
memcpy(_FUNC_READCHUNK_STRING_A->chr,oldstr4701->chr,oldstr4701->len);
|
|
}
|
|
qbs*oldstr4702=NULL;
|
|
if(_FUNC_READCHUNK_STRING_LAST_CHARACTER->tmp||_FUNC_READCHUNK_STRING_LAST_CHARACTER->fixed||_FUNC_READCHUNK_STRING_LAST_CHARACTER->readonly){
|
|
oldstr4702=_FUNC_READCHUNK_STRING_LAST_CHARACTER;
|
|
if (oldstr4702->cmem_descriptor){
|
|
_FUNC_READCHUNK_STRING_LAST_CHARACTER=qbs_new_cmem(oldstr4702->len,0);
|
|
}else{
|
|
_FUNC_READCHUNK_STRING_LAST_CHARACTER=qbs_new(oldstr4702->len,0);
|
|
}
|
|
memcpy(_FUNC_READCHUNK_STRING_LAST_CHARACTER->chr,oldstr4702->chr,oldstr4702->len);
|
|
}
|
|
int32 *_FUNC_READCHUNK_LONG_X=NULL;
|
|
if(_FUNC_READCHUNK_LONG_X==NULL){
|
|
_FUNC_READCHUNK_LONG_X=(int32*)mem_static_malloc(4);
|
|
*_FUNC_READCHUNK_LONG_X=0;
|
|
}
|
|
int64 fornext_value4704;
|
|
int64 fornext_finalvalue4704;
|
|
int64 fornext_step4704;
|
|
uint8 fornext_step_negative4704;
|
|
byte_element_struct *byte_element_4705=NULL;
|
|
if (!byte_element_4705){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4705=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4705=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_READCHUNK_LONG_C=NULL;
|
|
if(_FUNC_READCHUNK_LONG_C==NULL){
|
|
_FUNC_READCHUNK_LONG_C=(int32*)mem_static_malloc(4);
|
|
*_FUNC_READCHUNK_LONG_C=0;
|
|
}
|
|
byte_element_struct *byte_element_4706=NULL;
|
|
if (!byte_element_4706){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4706=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4706=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|