2015-02-20 13:15:27 +00:00
qbs *_FUNC_REMOVECAST_STRING_REMOVECAST=NULL;
if (!_FUNC_REMOVECAST_STRING_REMOVECAST)_FUNC_REMOVECAST_STRING_REMOVECAST=qbs_new(0,0);
2015-04-05 12:13:05 +00:00
qbs*oldstr3325=NULL;
2015-02-20 13:15:27 +00:00
if(_FUNC_REMOVECAST_STRING_A->tmp||_FUNC_REMOVECAST_STRING_A->fixed||_FUNC_REMOVECAST_STRING_A->readonly){
2015-04-05 12:13:05 +00:00
oldstr3325=_FUNC_REMOVECAST_STRING_A;
if (oldstr3325->cmem_descriptor){
_FUNC_REMOVECAST_STRING_A=qbs_new_cmem(oldstr3325->len,0);
2015-02-20 13:15:27 +00:00
}else{
2015-04-05 12:13:05 +00:00
_FUNC_REMOVECAST_STRING_A=qbs_new(oldstr3325->len,0);
2015-02-20 13:15:27 +00:00
}
2015-04-05 12:13:05 +00:00
memcpy(_FUNC_REMOVECAST_STRING_A->chr,oldstr3325->chr,oldstr3325->len);
2015-02-20 13:15:27 +00:00
}
2015-04-05 12:13:05 +00:00
byte_element_struct *byte_element_3326=NULL;
if (!byte_element_3326){
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3326=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3326=(byte_element_struct*)mem_static_malloc(12);
2015-02-20 13:15:27 +00:00
}