1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-20 12:45:13 +00:00
qb64/internal/source/data106.txt

33 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-09-19 23:10:34 +00:00
qbs*oldstr3771=NULL;
2021-07-21 21:30:49 +00:00
if(_SUB_COPY_FULL_UDT_STRING_DST->tmp||_SUB_COPY_FULL_UDT_STRING_DST->fixed||_SUB_COPY_FULL_UDT_STRING_DST->readonly){
2021-09-19 23:10:34 +00:00
oldstr3771=_SUB_COPY_FULL_UDT_STRING_DST;
if (oldstr3771->cmem_descriptor){
_SUB_COPY_FULL_UDT_STRING_DST=qbs_new_cmem(oldstr3771->len,0);
2021-02-07 10:32:23 +00:00
}else{
2021-09-19 23:10:34 +00:00
_SUB_COPY_FULL_UDT_STRING_DST=qbs_new(oldstr3771->len,0);
2021-02-07 10:32:23 +00:00
}
2021-09-19 23:10:34 +00:00
memcpy(_SUB_COPY_FULL_UDT_STRING_DST->chr,oldstr3771->chr,oldstr3771->len);
2021-02-07 10:32:23 +00:00
}
2021-09-19 23:10:34 +00:00
qbs*oldstr3772=NULL;
2021-07-21 21:30:49 +00:00
if(_SUB_COPY_FULL_UDT_STRING_SRC->tmp||_SUB_COPY_FULL_UDT_STRING_SRC->fixed||_SUB_COPY_FULL_UDT_STRING_SRC->readonly){
2021-09-19 23:10:34 +00:00
oldstr3772=_SUB_COPY_FULL_UDT_STRING_SRC;
if (oldstr3772->cmem_descriptor){
_SUB_COPY_FULL_UDT_STRING_SRC=qbs_new_cmem(oldstr3772->len,0);
}else{
2021-09-19 23:10:34 +00:00
_SUB_COPY_FULL_UDT_STRING_SRC=qbs_new(oldstr3772->len,0);
2021-02-08 14:42:20 +00:00
}
2021-09-19 23:10:34 +00:00
memcpy(_SUB_COPY_FULL_UDT_STRING_SRC->chr,oldstr3772->chr,oldstr3772->len);
2021-02-08 14:42:20 +00:00
}
2021-07-21 21:30:49 +00:00
int32 *_SUB_COPY_FULL_UDT_LONG_OFFSET=NULL;
if(_SUB_COPY_FULL_UDT_LONG_OFFSET==NULL){
_SUB_COPY_FULL_UDT_LONG_OFFSET=(int32*)mem_static_malloc(4);
*_SUB_COPY_FULL_UDT_LONG_OFFSET=0;
2021-02-08 14:42:20 +00:00
}
2021-07-21 21:30:49 +00:00
int32 *_SUB_COPY_FULL_UDT_LONG_ELEMENT=NULL;
if(_SUB_COPY_FULL_UDT_LONG_ELEMENT==NULL){
_SUB_COPY_FULL_UDT_LONG_ELEMENT=(int32*)mem_static_malloc(4);
*_SUB_COPY_FULL_UDT_LONG_ELEMENT=0;
2021-02-08 14:42:20 +00:00
}
2021-09-19 23:10:34 +00:00
int32 pass3776;
int32 pass3777;