mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-16 21:15:15 +00:00
16 lines
578 B
Plaintext
16 lines
578 B
Plaintext
qbs*oldstr6101=NULL;
|
|
if(_SUB_CLEANSUBNAME_STRING_N->tmp||_SUB_CLEANSUBNAME_STRING_N->fixed||_SUB_CLEANSUBNAME_STRING_N->readonly){
|
|
oldstr6101=_SUB_CLEANSUBNAME_STRING_N;
|
|
if (oldstr6101->cmem_descriptor){
|
|
_SUB_CLEANSUBNAME_STRING_N=qbs_new_cmem(oldstr6101->len,0);
|
|
}else{
|
|
_SUB_CLEANSUBNAME_STRING_N=qbs_new(oldstr6101->len,0);
|
|
}
|
|
memcpy(_SUB_CLEANSUBNAME_STRING_N->chr,oldstr6101->chr,oldstr6101->len);
|
|
}
|
|
int32 *_SUB_CLEANSUBNAME_LONG_X=NULL;
|
|
if(_SUB_CLEANSUBNAME_LONG_X==NULL){
|
|
_SUB_CLEANSUBNAME_LONG_X=(int32*)mem_static_malloc(4);
|
|
*_SUB_CLEANSUBNAME_LONG_X=0;
|
|
}
|