mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 00:55:09 +00:00
43 lines
2 KiB
Text
43 lines
2 KiB
Text
qbs *_FUNC_TYP2CTYP_STRING_TYP2CTYP=NULL;
|
|
if (!_FUNC_TYP2CTYP_STRING_TYP2CTYP)_FUNC_TYP2CTYP_STRING_TYP2CTYP=qbs_new(0,0);
|
|
qbs*oldstr3178=NULL;
|
|
if(_FUNC_TYP2CTYP_STRING_TSTR->tmp||_FUNC_TYP2CTYP_STRING_TSTR->fixed||_FUNC_TYP2CTYP_STRING_TSTR->readonly){
|
|
oldstr3178=_FUNC_TYP2CTYP_STRING_TSTR;
|
|
if (oldstr3178->cmem_descriptor){
|
|
_FUNC_TYP2CTYP_STRING_TSTR=qbs_new_cmem(oldstr3178->len,0);
|
|
}else{
|
|
_FUNC_TYP2CTYP_STRING_TSTR=qbs_new(oldstr3178->len,0);
|
|
}
|
|
memcpy(_FUNC_TYP2CTYP_STRING_TSTR->chr,oldstr3178->chr,oldstr3178->len);
|
|
}
|
|
qbs *_FUNC_TYP2CTYP_STRING_CTYP=NULL;
|
|
if (!_FUNC_TYP2CTYP_STRING_CTYP)_FUNC_TYP2CTYP_STRING_CTYP=qbs_new(0,0);
|
|
int32 *_FUNC_TYP2CTYP_LONG_B=NULL;
|
|
if(_FUNC_TYP2CTYP_LONG_B==NULL){
|
|
_FUNC_TYP2CTYP_LONG_B=(int32*)mem_static_malloc(4);
|
|
*_FUNC_TYP2CTYP_LONG_B=0;
|
|
}
|
|
qbs *_FUNC_TYP2CTYP_STRING_TS=NULL;
|
|
if (!_FUNC_TYP2CTYP_STRING_TS)_FUNC_TYP2CTYP_STRING_TS=qbs_new(0,0);
|
|
int32 *_FUNC_TYP2CTYP_LONG_UNSGN=NULL;
|
|
if(_FUNC_TYP2CTYP_LONG_UNSGN==NULL){
|
|
_FUNC_TYP2CTYP_LONG_UNSGN=(int32*)mem_static_malloc(4);
|
|
*_FUNC_TYP2CTYP_LONG_UNSGN=0;
|
|
}
|
|
byte_element_struct *byte_element_3179=NULL;
|
|
if (!byte_element_3179){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3179=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3179=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
qbs *_FUNC_TYP2CTYP_STRING_N=NULL;
|
|
if (!_FUNC_TYP2CTYP_STRING_N)_FUNC_TYP2CTYP_STRING_N=qbs_new(0,0);
|
|
byte_element_struct *byte_element_3180=NULL;
|
|
if (!byte_element_3180){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3180=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3180=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
qbs *_FUNC_TYP2CTYP_STRING_S=NULL;
|
|
if (!_FUNC_TYP2CTYP_STRING_S)_FUNC_TYP2CTYP_STRING_S=qbs_new(0,0);
|
|
byte_element_struct *byte_element_3181=NULL;
|
|
if (!byte_element_3181){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3181=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3181=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 pass3182;
|