mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-31 13:30:15 +00:00
29 lines
1.2 KiB
Text
29 lines
1.2 KiB
Text
qbs*oldstr3629=NULL;
|
|
if(_SUB_ARYADDSTR_STRING_VALUE->tmp||_SUB_ARYADDSTR_STRING_VALUE->fixed||_SUB_ARYADDSTR_STRING_VALUE->readonly){
|
|
oldstr3629=_SUB_ARYADDSTR_STRING_VALUE;
|
|
if (oldstr3629->cmem_descriptor){
|
|
_SUB_ARYADDSTR_STRING_VALUE=qbs_new_cmem(oldstr3629->len,0);
|
|
}else{
|
|
_SUB_ARYADDSTR_STRING_VALUE=qbs_new(oldstr3629->len,0);
|
|
}
|
|
memcpy(_SUB_ARYADDSTR_STRING_VALUE->chr,oldstr3629->chr,oldstr3629->len);
|
|
}
|
|
byte_element_struct *byte_element_3630=NULL;
|
|
if (!byte_element_3630){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3630=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3630=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_SUB_ARYADDSTR_LONG_INDEX=NULL;
|
|
if(_SUB_ARYADDSTR_LONG_INDEX==NULL){
|
|
_SUB_ARYADDSTR_LONG_INDEX=(int32*)mem_static_malloc(4);
|
|
*_SUB_ARYADDSTR_LONG_INDEX=0;
|
|
}
|
|
int32 *_SUB_ARYADDSTR_LONG_LASTINDEX=NULL;
|
|
if(_SUB_ARYADDSTR_LONG_LASTINDEX==NULL){
|
|
_SUB_ARYADDSTR_LONG_LASTINDEX=(int32*)mem_static_malloc(4);
|
|
*_SUB_ARYADDSTR_LONG_LASTINDEX=0;
|
|
}
|
|
int32 *_SUB_ARYADDSTR_LONG_ARYNEWSTR=NULL;
|
|
if(_SUB_ARYADDSTR_LONG_ARYNEWSTR==NULL){
|
|
_SUB_ARYADDSTR_LONG_ARYNEWSTR=(int32*)mem_static_malloc(4);
|
|
*_SUB_ARYADDSTR_LONG_ARYNEWSTR=0;
|
|
}
|