mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-07 20:20:25 +00:00
55 lines
2.7 KiB
Plaintext
55 lines
2.7 KiB
Plaintext
qbs *_FUNC_EXPANDARRAY_STRING_EXPANDARRAY=NULL;
|
|
if (!_FUNC_EXPANDARRAY_STRING_EXPANDARRAY)_FUNC_EXPANDARRAY_STRING_EXPANDARRAY=qbs_new(0,0);
|
|
qbs*oldstr5159=NULL;
|
|
if(_FUNC_EXPANDARRAY_STRING___INDEXES->tmp||_FUNC_EXPANDARRAY_STRING___INDEXES->fixed||_FUNC_EXPANDARRAY_STRING___INDEXES->readonly){
|
|
oldstr5159=_FUNC_EXPANDARRAY_STRING___INDEXES;
|
|
if (oldstr5159->cmem_descriptor){
|
|
_FUNC_EXPANDARRAY_STRING___INDEXES=qbs_new_cmem(oldstr5159->len,0);
|
|
}else{
|
|
_FUNC_EXPANDARRAY_STRING___INDEXES=qbs_new(oldstr5159->len,0);
|
|
}
|
|
memcpy(_FUNC_EXPANDARRAY_STRING___INDEXES->chr,oldstr5159->chr,oldstr5159->len);
|
|
}
|
|
qbs*oldstr5160=NULL;
|
|
if(_FUNC_EXPANDARRAY_STRING___PATH->tmp||_FUNC_EXPANDARRAY_STRING___PATH->fixed||_FUNC_EXPANDARRAY_STRING___PATH->readonly){
|
|
oldstr5160=_FUNC_EXPANDARRAY_STRING___PATH;
|
|
if (oldstr5160->cmem_descriptor){
|
|
_FUNC_EXPANDARRAY_STRING___PATH=qbs_new_cmem(oldstr5160->len,0);
|
|
}else{
|
|
_FUNC_EXPANDARRAY_STRING___PATH=qbs_new(oldstr5160->len,0);
|
|
}
|
|
memcpy(_FUNC_EXPANDARRAY_STRING___PATH->chr,oldstr5160->chr,oldstr5160->len);
|
|
}
|
|
int32 *_FUNC_EXPANDARRAY_LONG_TOTALINDEXES=NULL;
|
|
if(_FUNC_EXPANDARRAY_LONG_TOTALINDEXES==NULL){
|
|
_FUNC_EXPANDARRAY_LONG_TOTALINDEXES=(int32*)mem_static_malloc(4);
|
|
*_FUNC_EXPANDARRAY_LONG_TOTALINDEXES=0;
|
|
}
|
|
qbs *_FUNC_EXPANDARRAY_STRING_INDEXES=NULL;
|
|
if (!_FUNC_EXPANDARRAY_STRING_INDEXES)_FUNC_EXPANDARRAY_STRING_INDEXES=qbs_new(0,0);
|
|
qbs *_FUNC_EXPANDARRAY_STRING_REMAININGINDEXES=NULL;
|
|
if (!_FUNC_EXPANDARRAY_STRING_REMAININGINDEXES)_FUNC_EXPANDARRAY_STRING_REMAININGINDEXES=qbs_new(0,0);
|
|
int32 *_FUNC_EXPANDARRAY_LONG_I=NULL;
|
|
if(_FUNC_EXPANDARRAY_LONG_I==NULL){
|
|
_FUNC_EXPANDARRAY_LONG_I=(int32*)mem_static_malloc(4);
|
|
*_FUNC_EXPANDARRAY_LONG_I=0;
|
|
}
|
|
int64 fornext_value5162;
|
|
int64 fornext_finalvalue5162;
|
|
int64 fornext_step5162;
|
|
uint8 fornext_step_negative5162;
|
|
qbs *_FUNC_EXPANDARRAY_STRING_TEMP=NULL;
|
|
if (!_FUNC_EXPANDARRAY_STRING_TEMP)_FUNC_EXPANDARRAY_STRING_TEMP=qbs_new(0,0);
|
|
byte_element_struct *byte_element_5163=NULL;
|
|
if (!byte_element_5163){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_5163=(byte_element_struct*)(mem_static_pointer-12); else byte_element_5163=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_5164=NULL;
|
|
if (!byte_element_5164){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_5164=(byte_element_struct*)(mem_static_pointer-12); else byte_element_5164=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_5165=NULL;
|
|
if (!byte_element_5165){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_5165=(byte_element_struct*)(mem_static_pointer-12); else byte_element_5165=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|