mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +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*oldstr6980=NULL;
|
|
if(_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->tmp||_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->fixed||_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->readonly){
|
|
oldstr6980=_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT;
|
|
if (oldstr6980->cmem_descriptor){
|
|
_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT=qbs_new_cmem(oldstr6980->len,0);
|
|
}else{
|
|
_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT=qbs_new(oldstr6980->len,0);
|
|
}
|
|
memcpy(_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->chr,oldstr6980->chr,oldstr6980->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_value6982;
|
|
int64 fornext_finalvalue6982;
|
|
int64 fornext_step6982;
|
|
uint8 fornext_step_negative6982;
|
|
byte_element_struct *byte_element_6983=NULL;
|
|
if (!byte_element_6983){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6983=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6983=(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;
|
|
}
|