mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 06:45:09 +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*oldstr3710=NULL;
|
|
if(_FUNC_GL2QB_TYPE_CONVERT_STRING_A->tmp||_FUNC_GL2QB_TYPE_CONVERT_STRING_A->fixed||_FUNC_GL2QB_TYPE_CONVERT_STRING_A->readonly){
|
|
oldstr3710=_FUNC_GL2QB_TYPE_CONVERT_STRING_A;
|
|
if (oldstr3710->cmem_descriptor){
|
|
_FUNC_GL2QB_TYPE_CONVERT_STRING_A=qbs_new_cmem(oldstr3710->len,0);
|
|
}else{
|
|
_FUNC_GL2QB_TYPE_CONVERT_STRING_A=qbs_new(oldstr3710->len,0);
|
|
}
|
|
memcpy(_FUNC_GL2QB_TYPE_CONVERT_STRING_A->chr,oldstr3710->chr,oldstr3710->len);
|
|
}
|
|
qbs*oldstr3711=NULL;
|
|
if(_FUNC_GL2QB_TYPE_CONVERT_STRING_SYMBOL->tmp||_FUNC_GL2QB_TYPE_CONVERT_STRING_SYMBOL->fixed||_FUNC_GL2QB_TYPE_CONVERT_STRING_SYMBOL->readonly){
|
|
oldstr3711=_FUNC_GL2QB_TYPE_CONVERT_STRING_SYMBOL;
|
|
if (oldstr3711->cmem_descriptor){
|
|
_FUNC_GL2QB_TYPE_CONVERT_STRING_SYMBOL=qbs_new_cmem(oldstr3711->len,0);
|
|
}else{
|
|
_FUNC_GL2QB_TYPE_CONVERT_STRING_SYMBOL=qbs_new(oldstr3711->len,0);
|
|
}
|
|
memcpy(_FUNC_GL2QB_TYPE_CONVERT_STRING_SYMBOL->chr,oldstr3711->chr,oldstr3711->len);
|
|
}
|
|
qbs*oldstr3712=NULL;
|
|
if(_FUNC_GL2QB_TYPE_CONVERT_STRING_CTYP->tmp||_FUNC_GL2QB_TYPE_CONVERT_STRING_CTYP->fixed||_FUNC_GL2QB_TYPE_CONVERT_STRING_CTYP->readonly){
|
|
oldstr3712=_FUNC_GL2QB_TYPE_CONVERT_STRING_CTYP;
|
|
if (oldstr3712->cmem_descriptor){
|
|
_FUNC_GL2QB_TYPE_CONVERT_STRING_CTYP=qbs_new_cmem(oldstr3712->len,0);
|
|
}else{
|
|
_FUNC_GL2QB_TYPE_CONVERT_STRING_CTYP=qbs_new(oldstr3712->len,0);
|
|
}
|
|
memcpy(_FUNC_GL2QB_TYPE_CONVERT_STRING_CTYP->chr,oldstr3712->chr,oldstr3712->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);
|