mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 11:25:08 +00:00
34 lines
1.7 KiB
Text
34 lines
1.7 KiB
Text
qbs *_FUNC_GL2QB_TYPE_CONVERT_STRING_GL2QB_TYPE_CONVERT=NULL;
|
|
if (!_FUNC_GL2QB_TYPE_CONVERT_STRING_GL2QB_TYPE_CONVERT)_FUNC_GL2QB_TYPE_CONVERT_STRING_GL2QB_TYPE_CONVERT=qbs_new(0,0);
|
|
qbs*oldstr3822=NULL;
|
|
if(_FUNC_GL2QB_TYPE_CONVERT_STRING_A->tmp||_FUNC_GL2QB_TYPE_CONVERT_STRING_A->fixed||_FUNC_GL2QB_TYPE_CONVERT_STRING_A->readonly){
|
|
oldstr3822=_FUNC_GL2QB_TYPE_CONVERT_STRING_A;
|
|
if (oldstr3822->cmem_descriptor){
|
|
_FUNC_GL2QB_TYPE_CONVERT_STRING_A=qbs_new_cmem(oldstr3822->len,0);
|
|
}else{
|
|
_FUNC_GL2QB_TYPE_CONVERT_STRING_A=qbs_new(oldstr3822->len,0);
|
|
}
|
|
memcpy(_FUNC_GL2QB_TYPE_CONVERT_STRING_A->chr,oldstr3822->chr,oldstr3822->len);
|
|
}
|
|
qbs*oldstr3823=NULL;
|
|
if(_FUNC_GL2QB_TYPE_CONVERT_STRING_SYMBOL->tmp||_FUNC_GL2QB_TYPE_CONVERT_STRING_SYMBOL->fixed||_FUNC_GL2QB_TYPE_CONVERT_STRING_SYMBOL->readonly){
|
|
oldstr3823=_FUNC_GL2QB_TYPE_CONVERT_STRING_SYMBOL;
|
|
if (oldstr3823->cmem_descriptor){
|
|
_FUNC_GL2QB_TYPE_CONVERT_STRING_SYMBOL=qbs_new_cmem(oldstr3823->len,0);
|
|
}else{
|
|
_FUNC_GL2QB_TYPE_CONVERT_STRING_SYMBOL=qbs_new(oldstr3823->len,0);
|
|
}
|
|
memcpy(_FUNC_GL2QB_TYPE_CONVERT_STRING_SYMBOL->chr,oldstr3823->chr,oldstr3823->len);
|
|
}
|
|
qbs*oldstr3824=NULL;
|
|
if(_FUNC_GL2QB_TYPE_CONVERT_STRING_CTYP->tmp||_FUNC_GL2QB_TYPE_CONVERT_STRING_CTYP->fixed||_FUNC_GL2QB_TYPE_CONVERT_STRING_CTYP->readonly){
|
|
oldstr3824=_FUNC_GL2QB_TYPE_CONVERT_STRING_CTYP;
|
|
if (oldstr3824->cmem_descriptor){
|
|
_FUNC_GL2QB_TYPE_CONVERT_STRING_CTYP=qbs_new_cmem(oldstr3824->len,0);
|
|
}else{
|
|
_FUNC_GL2QB_TYPE_CONVERT_STRING_CTYP=qbs_new(oldstr3824->len,0);
|
|
}
|
|
memcpy(_FUNC_GL2QB_TYPE_CONVERT_STRING_CTYP->chr,oldstr3824->chr,oldstr3824->len);
|
|
}
|
|
qbs *_FUNC_GL2QB_TYPE_CONVERT_STRING_B=NULL;
|
|
if (!_FUNC_GL2QB_TYPE_CONVERT_STRING_B)_FUNC_GL2QB_TYPE_CONVERT_STRING_B=qbs_new(0,0);
|