mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
17 lines
840 B
Text
17 lines
840 B
Text
qbs *_FUNC_REMOVEDOUBLESLASHES_STRING_REMOVEDOUBLESLASHES=NULL;
|
|
if (!_FUNC_REMOVEDOUBLESLASHES_STRING_REMOVEDOUBLESLASHES)_FUNC_REMOVEDOUBLESLASHES_STRING_REMOVEDOUBLESLASHES=qbs_new(0,0);
|
|
qbs*oldstr6172=NULL;
|
|
if(_FUNC_REMOVEDOUBLESLASHES_STRING_F->tmp||_FUNC_REMOVEDOUBLESLASHES_STRING_F->fixed||_FUNC_REMOVEDOUBLESLASHES_STRING_F->readonly){
|
|
oldstr6172=_FUNC_REMOVEDOUBLESLASHES_STRING_F;
|
|
if (oldstr6172->cmem_descriptor){
|
|
_FUNC_REMOVEDOUBLESLASHES_STRING_F=qbs_new_cmem(oldstr6172->len,0);
|
|
}else{
|
|
_FUNC_REMOVEDOUBLESLASHES_STRING_F=qbs_new(oldstr6172->len,0);
|
|
}
|
|
memcpy(_FUNC_REMOVEDOUBLESLASHES_STRING_F->chr,oldstr6172->chr,oldstr6172->len);
|
|
}
|
|
int32 *_FUNC_REMOVEDOUBLESLASHES_LONG_X=NULL;
|
|
if(_FUNC_REMOVEDOUBLESLASHES_LONG_X==NULL){
|
|
_FUNC_REMOVEDOUBLESLASHES_LONG_X=(int32*)mem_static_malloc(4);
|
|
*_FUNC_REMOVEDOUBLESLASHES_LONG_X=0;
|
|
}
|