1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-12 22:45:13 +00:00
QB64-PE/internal/source/data169.txt

16 lines
588 B
Plaintext
Raw Normal View History

2022-05-14 20:59: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;
2022-05-06 18:13:57 +00:00
}
2022-05-18 09:42:56 +00:00
qbs*oldstr5326=NULL;
2022-05-14 20:59:49 +00:00
if(_FUNC_IDENEWTXT_STRING_A->tmp||_FUNC_IDENEWTXT_STRING_A->fixed||_FUNC_IDENEWTXT_STRING_A->readonly){
2022-05-18 09:42:56 +00:00
oldstr5326=_FUNC_IDENEWTXT_STRING_A;
if (oldstr5326->cmem_descriptor){
_FUNC_IDENEWTXT_STRING_A=qbs_new_cmem(oldstr5326->len,0);
2022-05-14 20:59:49 +00:00
}else{
2022-05-18 09:42:56 +00:00
_FUNC_IDENEWTXT_STRING_A=qbs_new(oldstr5326->len,0);
2022-05-14 20:59:49 +00:00
}
2022-05-18 09:42:56 +00:00
memcpy(_FUNC_IDENEWTXT_STRING_A->chr,oldstr5326->chr,oldstr5326->len);
2021-09-28 05:43:25 +00:00
}