mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
17 lines
783 B
Text
17 lines
783 B
Text
int16 *_FUNC_TFSTRINGTOBOOL_INTEGER_TFSTRINGTOBOOL=NULL;
|
|
if(_FUNC_TFSTRINGTOBOOL_INTEGER_TFSTRINGTOBOOL==NULL){
|
|
_FUNC_TFSTRINGTOBOOL_INTEGER_TFSTRINGTOBOOL=(int16*)mem_static_malloc(2);
|
|
*_FUNC_TFSTRINGTOBOOL_INTEGER_TFSTRINGTOBOOL=0;
|
|
}
|
|
qbs*oldstr3781=NULL;
|
|
if(_FUNC_TFSTRINGTOBOOL_STRING_S->tmp||_FUNC_TFSTRINGTOBOOL_STRING_S->fixed||_FUNC_TFSTRINGTOBOOL_STRING_S->readonly){
|
|
oldstr3781=_FUNC_TFSTRINGTOBOOL_STRING_S;
|
|
if (oldstr3781->cmem_descriptor){
|
|
_FUNC_TFSTRINGTOBOOL_STRING_S=qbs_new_cmem(oldstr3781->len,0);
|
|
}else{
|
|
_FUNC_TFSTRINGTOBOOL_STRING_S=qbs_new(oldstr3781->len,0);
|
|
}
|
|
memcpy(_FUNC_TFSTRINGTOBOOL_STRING_S->chr,oldstr3781->chr,oldstr3781->len);
|
|
}
|
|
qbs *_FUNC_TFSTRINGTOBOOL_STRING_S2=NULL;
|
|
if (!_FUNC_TFSTRINGTOBOOL_STRING_S2)_FUNC_TFSTRINGTOBOOL_STRING_S2=qbs_new(0,0);
|