1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-08-22 03:15:07 +00:00
qb64/internal/source/data164.txt

16 lines
588 B
Text
Raw Normal View History

2021-08-24 07:04:43 +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-08-15 06:00:33 +00:00
}
2021-08-24 07:04:43 +00:00
qbs*oldstr5230=NULL;
if(_FUNC_IDENEWTXT_STRING_A->tmp||_FUNC_IDENEWTXT_STRING_A->fixed||_FUNC_IDENEWTXT_STRING_A->readonly){
oldstr5230=_FUNC_IDENEWTXT_STRING_A;
if (oldstr5230->cmem_descriptor){
_FUNC_IDENEWTXT_STRING_A=qbs_new_cmem(oldstr5230->len,0);
}else{
_FUNC_IDENEWTXT_STRING_A=qbs_new(oldstr5230->len,0);
}
memcpy(_FUNC_IDENEWTXT_STRING_A->chr,oldstr5230->chr,oldstr5230->len);
2021-01-14 03:03:50 +00:00
}