mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 04:25:08 +00:00
15 lines
578 B
Text
15 lines
578 B
Text
qbs*oldstr5429=NULL;
|
|
if(_SUB_CLEANSUBNAME_STRING_N->tmp||_SUB_CLEANSUBNAME_STRING_N->fixed||_SUB_CLEANSUBNAME_STRING_N->readonly){
|
|
oldstr5429=_SUB_CLEANSUBNAME_STRING_N;
|
|
if (oldstr5429->cmem_descriptor){
|
|
_SUB_CLEANSUBNAME_STRING_N=qbs_new_cmem(oldstr5429->len,0);
|
|
}else{
|
|
_SUB_CLEANSUBNAME_STRING_N=qbs_new(oldstr5429->len,0);
|
|
}
|
|
memcpy(_SUB_CLEANSUBNAME_STRING_N->chr,oldstr5429->chr,oldstr5429->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;
|
|
}
|