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