mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 03:15:07 +00:00
29 lines
1.2 KiB
Text
29 lines
1.2 KiB
Text
qbs*oldstr3598=NULL;
|
|
if(_SUB_ARYADDSTR_STRING_VALUE->tmp||_SUB_ARYADDSTR_STRING_VALUE->fixed||_SUB_ARYADDSTR_STRING_VALUE->readonly){
|
|
oldstr3598=_SUB_ARYADDSTR_STRING_VALUE;
|
|
if (oldstr3598->cmem_descriptor){
|
|
_SUB_ARYADDSTR_STRING_VALUE=qbs_new_cmem(oldstr3598->len,0);
|
|
}else{
|
|
_SUB_ARYADDSTR_STRING_VALUE=qbs_new(oldstr3598->len,0);
|
|
}
|
|
memcpy(_SUB_ARYADDSTR_STRING_VALUE->chr,oldstr3598->chr,oldstr3598->len);
|
|
}
|
|
byte_element_struct *byte_element_3599=NULL;
|
|
if (!byte_element_3599){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3599=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3599=(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;
|
|
}
|