mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 06:44:44 +00:00
37 lines
1.7 KiB
Text
37 lines
1.7 KiB
Text
qbs *_FUNC_ANSITEXTTOUTF8TEXT_STRING_ANSITEXTTOUTF8TEXT=NULL;
|
|
if (!_FUNC_ANSITEXTTOUTF8TEXT_STRING_ANSITEXTTOUTF8TEXT)_FUNC_ANSITEXTTOUTF8TEXT_STRING_ANSITEXTTOUTF8TEXT=qbs_new(0,0);
|
|
qbs*oldstr6994=NULL;
|
|
if(_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->tmp||_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->fixed||_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->readonly){
|
|
oldstr6994=_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT;
|
|
if (oldstr6994->cmem_descriptor){
|
|
_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT=qbs_new_cmem(oldstr6994->len,0);
|
|
}else{
|
|
_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT=qbs_new(oldstr6994->len,0);
|
|
}
|
|
memcpy(_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->chr,oldstr6994->chr,oldstr6994->len);
|
|
}
|
|
qbs *_FUNC_ANSITEXTTOUTF8TEXT_STRING_UTF=NULL;
|
|
if (!_FUNC_ANSITEXTTOUTF8TEXT_STRING_UTF)_FUNC_ANSITEXTTOUTF8TEXT_STRING_UTF=qbs_new(0,0);
|
|
int32 *_FUNC_ANSITEXTTOUTF8TEXT_LONG_CHI=NULL;
|
|
if(_FUNC_ANSITEXTTOUTF8TEXT_LONG_CHI==NULL){
|
|
_FUNC_ANSITEXTTOUTF8TEXT_LONG_CHI=(int32*)mem_static_malloc(4);
|
|
*_FUNC_ANSITEXTTOUTF8TEXT_LONG_CHI=0;
|
|
}
|
|
int64 fornext_value6996;
|
|
int64 fornext_finalvalue6996;
|
|
int64 fornext_step6996;
|
|
uint8 fornext_step_negative6996;
|
|
byte_element_struct *byte_element_6997=NULL;
|
|
if (!byte_element_6997){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6997=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6997=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int16 *_FUNC_ANSITEXTTOUTF8TEXT_INTEGER_ASCII=NULL;
|
|
if(_FUNC_ANSITEXTTOUTF8TEXT_INTEGER_ASCII==NULL){
|
|
_FUNC_ANSITEXTTOUTF8TEXT_INTEGER_ASCII=(int16*)mem_static_malloc(2);
|
|
*_FUNC_ANSITEXTTOUTF8TEXT_INTEGER_ASCII=0;
|
|
}
|
|
int32 *_FUNC_ANSITEXTTOUTF8TEXT_LONG_UNICODE=NULL;
|
|
if(_FUNC_ANSITEXTTOUTF8TEXT_LONG_UNICODE==NULL){
|
|
_FUNC_ANSITEXTTOUTF8TEXT_LONG_UNICODE=(int32*)mem_static_malloc(4);
|
|
*_FUNC_ANSITEXTTOUTF8TEXT_LONG_UNICODE=0;
|
|
}
|