1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-08-22 11:25:08 +00:00
qb64/internal/source/data167.txt

16 lines
588 B
Text
Raw Normal View History

2021-09-28 05:43:25 +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-09-26 02:23:37 +00:00
}
qbs*oldstr5396=NULL;
2021-09-28 05:43:25 +00:00
if(_FUNC_IDENEWTXT_STRING_A->tmp||_FUNC_IDENEWTXT_STRING_A->fixed||_FUNC_IDENEWTXT_STRING_A->readonly){
oldstr5396=_FUNC_IDENEWTXT_STRING_A;
if (oldstr5396->cmem_descriptor){
_FUNC_IDENEWTXT_STRING_A=qbs_new_cmem(oldstr5396->len,0);
2021-09-28 05:43:25 +00:00
}else{
_FUNC_IDENEWTXT_STRING_A=qbs_new(oldstr5396->len,0);
2021-09-28 05:43:25 +00:00
}
memcpy(_FUNC_IDENEWTXT_STRING_A->chr,oldstr5396->chr,oldstr5396->len);
2021-07-30 17:42:07 +00:00
}