1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-05 22:50:23 +00:00
QB64-PE/internal/source/data156.txt

16 lines
588 B
Plaintext
Raw Normal View History

2021-07-21 21:30:49 +00:00
int32 *_FUNC_IDENEWTXT_LONG_IDENEWTXT=NULL;
if(_FUNC_IDENEWTXT_LONG_IDENEWTXT==NULL){
_FUNC_IDENEWTXT_LONG_IDENEWTXT=(int32*)mem_static_malloc(4);
*_FUNC_IDENEWTXT_LONG_IDENEWTXT=0;
}
2021-07-22 21:44:11 +00:00
qbs*oldstr4938=NULL;
2021-07-21 21:30:49 +00:00
if(_FUNC_IDENEWTXT_STRING_A->tmp||_FUNC_IDENEWTXT_STRING_A->fixed||_FUNC_IDENEWTXT_STRING_A->readonly){
2021-07-22 21:44:11 +00:00
oldstr4938=_FUNC_IDENEWTXT_STRING_A;
if (oldstr4938->cmem_descriptor){
_FUNC_IDENEWTXT_STRING_A=qbs_new_cmem(oldstr4938->len,0);
2021-07-19 21:21:56 +00:00
}else{
2021-07-22 21:44:11 +00:00
_FUNC_IDENEWTXT_STRING_A=qbs_new(oldstr4938->len,0);
2021-07-19 21:21:56 +00:00
}
2021-07-22 21:44:11 +00:00
memcpy(_FUNC_IDENEWTXT_STRING_A->chr,oldstr4938->chr,oldstr4938->len);
2021-02-07 10:32:23 +00:00
}