1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-09-12 14:20:19 +00:00
qb64/internal/source/data154.txt

16 lines
588 B
Text
Raw Normal View History

2021-07-19 21:21:56 +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;
}
qbs*oldstr4833=NULL;
if(_FUNC_IDENEWTXT_STRING_A->tmp||_FUNC_IDENEWTXT_STRING_A->fixed||_FUNC_IDENEWTXT_STRING_A->readonly){
oldstr4833=_FUNC_IDENEWTXT_STRING_A;
if (oldstr4833->cmem_descriptor){
_FUNC_IDENEWTXT_STRING_A=qbs_new_cmem(oldstr4833->len,0);
2021-02-08 14:42:20 +00:00
}else{
2021-07-19 21:21:56 +00:00
_FUNC_IDENEWTXT_STRING_A=qbs_new(oldstr4833->len,0);
2021-02-08 14:42:20 +00:00
}
2021-07-19 21:21:56 +00:00
memcpy(_FUNC_IDENEWTXT_STRING_A->chr,oldstr4833->chr,oldstr4833->len);
2021-02-03 12:34:14 +00:00
}