mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-04 04:50:22 +00:00
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
int32 *_FUNC_OPERATORUSAGE_LONG_OPERATORUSAGE=NULL;
|
|
if(_FUNC_OPERATORUSAGE_LONG_OPERATORUSAGE==NULL){
|
|
_FUNC_OPERATORUSAGE_LONG_OPERATORUSAGE=(int32*)mem_static_malloc(4);
|
|
*_FUNC_OPERATORUSAGE_LONG_OPERATORUSAGE=0;
|
|
}
|
|
qbs*oldstr2606=NULL;
|
|
if(_FUNC_OPERATORUSAGE_STRING_OPERATOR->tmp||_FUNC_OPERATORUSAGE_STRING_OPERATOR->fixed||_FUNC_OPERATORUSAGE_STRING_OPERATOR->readonly){
|
|
oldstr2606=_FUNC_OPERATORUSAGE_STRING_OPERATOR;
|
|
if (oldstr2606->cmem_descriptor){
|
|
_FUNC_OPERATORUSAGE_STRING_OPERATOR=qbs_new_cmem(oldstr2606->len,0);
|
|
}else{
|
|
_FUNC_OPERATORUSAGE_STRING_OPERATOR=qbs_new(oldstr2606->len,0);
|
|
}
|
|
memcpy(_FUNC_OPERATORUSAGE_STRING_OPERATOR->chr,oldstr2606->chr,oldstr2606->len);
|
|
}
|
|
qbs*oldstr2607=NULL;
|
|
if(_FUNC_OPERATORUSAGE_STRING_INFO->tmp||_FUNC_OPERATORUSAGE_STRING_INFO->fixed||_FUNC_OPERATORUSAGE_STRING_INFO->readonly){
|
|
oldstr2607=_FUNC_OPERATORUSAGE_STRING_INFO;
|
|
if (oldstr2607->cmem_descriptor){
|
|
_FUNC_OPERATORUSAGE_STRING_INFO=qbs_new_cmem(oldstr2607->len,0);
|
|
}else{
|
|
_FUNC_OPERATORUSAGE_STRING_INFO=qbs_new(oldstr2607->len,0);
|
|
}
|
|
memcpy(_FUNC_OPERATORUSAGE_STRING_INFO->chr,oldstr2607->chr,oldstr2607->len);
|
|
}
|