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