mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-31 13:30:15 +00:00
17 lines
780 B
Text
17 lines
780 B
Text
qbs *_FUNC_REMOVESYMBOL2_STRING_REMOVESYMBOL2=NULL;
|
|
if (!_FUNC_REMOVESYMBOL2_STRING_REMOVESYMBOL2)_FUNC_REMOVESYMBOL2_STRING_REMOVESYMBOL2=qbs_new(0,0);
|
|
qbs*oldstr5656=NULL;
|
|
if(_FUNC_REMOVESYMBOL2_STRING_VARNAME->tmp||_FUNC_REMOVESYMBOL2_STRING_VARNAME->fixed||_FUNC_REMOVESYMBOL2_STRING_VARNAME->readonly){
|
|
oldstr5656=_FUNC_REMOVESYMBOL2_STRING_VARNAME;
|
|
if (oldstr5656->cmem_descriptor){
|
|
_FUNC_REMOVESYMBOL2_STRING_VARNAME=qbs_new_cmem(oldstr5656->len,0);
|
|
}else{
|
|
_FUNC_REMOVESYMBOL2_STRING_VARNAME=qbs_new(oldstr5656->len,0);
|
|
}
|
|
memcpy(_FUNC_REMOVESYMBOL2_STRING_VARNAME->chr,oldstr5656->chr,oldstr5656->len);
|
|
}
|
|
int32 *_FUNC_REMOVESYMBOL2_LONG_I=NULL;
|
|
if(_FUNC_REMOVESYMBOL2_LONG_I==NULL){
|
|
_FUNC_REMOVESYMBOL2_LONG_I=(int32*)mem_static_malloc(4);
|
|
*_FUNC_REMOVESYMBOL2_LONG_I=0;
|
|
}
|