mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-04 11:10:15 +00:00
15 lines
661 B
Text
15 lines
661 B
Text
|
qbs *_FUNC_GETBYTES_STRING_GETBYTES=NULL;
|
||
|
if (!_FUNC_GETBYTES_STRING_GETBYTES)_FUNC_GETBYTES_STRING_GETBYTES=qbs_new(0,0);
|
||
|
qbs*oldstr6603=NULL;
|
||
|
if(_FUNC_GETBYTES_STRING___VALUE->tmp||_FUNC_GETBYTES_STRING___VALUE->fixed||_FUNC_GETBYTES_STRING___VALUE->readonly){
|
||
|
oldstr6603=_FUNC_GETBYTES_STRING___VALUE;
|
||
|
if (oldstr6603->cmem_descriptor){
|
||
|
_FUNC_GETBYTES_STRING___VALUE=qbs_new_cmem(oldstr6603->len,0);
|
||
|
}else{
|
||
|
_FUNC_GETBYTES_STRING___VALUE=qbs_new(oldstr6603->len,0);
|
||
|
}
|
||
|
memcpy(_FUNC_GETBYTES_STRING___VALUE->chr,oldstr6603->chr,oldstr6603->len);
|
||
|
}
|
||
|
qbs *_FUNC_GETBYTES_STRING_VALUE=NULL;
|
||
|
if (!_FUNC_GETBYTES_STRING_VALUE)_FUNC_GETBYTES_STRING_VALUE=qbs_new(0,0);
|