mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-16 22:25:14 +00:00
18 lines
857 B
Plaintext
18 lines
857 B
Plaintext
qbs *_FUNC_REMOVEDOUBLESLASHES_STRING_REMOVEDOUBLESLASHES=NULL;
|
|
if (!_FUNC_REMOVEDOUBLESLASHES_STRING_REMOVEDOUBLESLASHES)_FUNC_REMOVEDOUBLESLASHES_STRING_REMOVEDOUBLESLASHES=qbs_new(0,0);
|
|
qbs*oldstr5971=NULL;
|
|
if(_FUNC_REMOVEDOUBLESLASHES_STRING_F->tmp||_FUNC_REMOVEDOUBLESLASHES_STRING_F->fixed||_FUNC_REMOVEDOUBLESLASHES_STRING_F->readonly){
|
|
oldstr5971=_FUNC_REMOVEDOUBLESLASHES_STRING_F;
|
|
if (oldstr5971->cmem_descriptor){
|
|
_FUNC_REMOVEDOUBLESLASHES_STRING_F=qbs_new_cmem(oldstr5971->len,0);
|
|
}else{
|
|
_FUNC_REMOVEDOUBLESLASHES_STRING_F=qbs_new(oldstr5971->len,0);
|
|
}
|
|
memcpy(_FUNC_REMOVEDOUBLESLASHES_STRING_F->chr,oldstr5971->chr,oldstr5971->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;
|
|
}
|