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