mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 06:45:09 +00:00
25 lines
1.1 KiB
Text
25 lines
1.1 KiB
Text
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*oldstr2907=NULL;
|
|
if(_FUNC_OPERATORUSAGE_STRING_OPERATOR->tmp||_FUNC_OPERATORUSAGE_STRING_OPERATOR->fixed||_FUNC_OPERATORUSAGE_STRING_OPERATOR->readonly){
|
|
oldstr2907=_FUNC_OPERATORUSAGE_STRING_OPERATOR;
|
|
if (oldstr2907->cmem_descriptor){
|
|
_FUNC_OPERATORUSAGE_STRING_OPERATOR=qbs_new_cmem(oldstr2907->len,0);
|
|
}else{
|
|
_FUNC_OPERATORUSAGE_STRING_OPERATOR=qbs_new(oldstr2907->len,0);
|
|
}
|
|
memcpy(_FUNC_OPERATORUSAGE_STRING_OPERATOR->chr,oldstr2907->chr,oldstr2907->len);
|
|
}
|
|
qbs*oldstr2908=NULL;
|
|
if(_FUNC_OPERATORUSAGE_STRING_INFO->tmp||_FUNC_OPERATORUSAGE_STRING_INFO->fixed||_FUNC_OPERATORUSAGE_STRING_INFO->readonly){
|
|
oldstr2908=_FUNC_OPERATORUSAGE_STRING_INFO;
|
|
if (oldstr2908->cmem_descriptor){
|
|
_FUNC_OPERATORUSAGE_STRING_INFO=qbs_new_cmem(oldstr2908->len,0);
|
|
}else{
|
|
_FUNC_OPERATORUSAGE_STRING_INFO=qbs_new(oldstr2908->len,0);
|
|
}
|
|
memcpy(_FUNC_OPERATORUSAGE_STRING_INFO->chr,oldstr2908->chr,oldstr2908->len);
|
|
}
|