1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-28 18:55:54 +00:00
QB64-PE/internal/source/data137.txt

16 lines
588 B
Plaintext
Raw Normal View History

2020-12-27 01:05:22 +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;
}
2020-12-31 12:59:54 +00:00
qbs*oldstr4730=NULL;
2020-12-27 01:05:22 +00:00
if(_FUNC_IDENEWTXT_STRING_A->tmp||_FUNC_IDENEWTXT_STRING_A->fixed||_FUNC_IDENEWTXT_STRING_A->readonly){
2020-12-31 12:59:54 +00:00
oldstr4730=_FUNC_IDENEWTXT_STRING_A;
if (oldstr4730->cmem_descriptor){
_FUNC_IDENEWTXT_STRING_A=qbs_new_cmem(oldstr4730->len,0);
2020-12-27 01:05:22 +00:00
}else{
2020-12-31 12:59:54 +00:00
_FUNC_IDENEWTXT_STRING_A=qbs_new(oldstr4730->len,0);
2020-12-27 01:05:22 +00:00
}
2020-12-31 12:59:54 +00:00
memcpy(_FUNC_IDENEWTXT_STRING_A->chr,oldstr4730->chr,oldstr4730->len);
2019-04-28 11:54:47 +00:00
}