mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 05:34:47 +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*oldstr6986=NULL;
|
|
if(_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->tmp||_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->fixed||_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->readonly){
|
|
oldstr6986=_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT;
|
|
if (oldstr6986->cmem_descriptor){
|
|
_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT=qbs_new_cmem(oldstr6986->len,0);
|
|
}else{
|
|
_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT=qbs_new(oldstr6986->len,0);
|
|
}
|
|
memcpy(_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->chr,oldstr6986->chr,oldstr6986->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_value6988;
|
|
int64 fornext_finalvalue6988;
|
|
int64 fornext_step6988;
|
|
uint8 fornext_step_negative6988;
|
|
byte_element_struct *byte_element_6989=NULL;
|
|
if (!byte_element_6989){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6989=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6989=(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;
|
|
}
|