mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 09:04:43 +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*oldstr6998=NULL;
|
|
if(_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->tmp||_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->fixed||_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->readonly){
|
|
oldstr6998=_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT;
|
|
if (oldstr6998->cmem_descriptor){
|
|
_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT=qbs_new_cmem(oldstr6998->len,0);
|
|
}else{
|
|
_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT=qbs_new(oldstr6998->len,0);
|
|
}
|
|
memcpy(_FUNC_ANSITEXTTOUTF8TEXT_STRING_TEXT->chr,oldstr6998->chr,oldstr6998->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_value7000;
|
|
int64 fornext_finalvalue7000;
|
|
int64 fornext_step7000;
|
|
uint8 fornext_step_negative7000;
|
|
byte_element_struct *byte_element_7001=NULL;
|
|
if (!byte_element_7001){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_7001=(byte_element_struct*)(mem_static_pointer-12); else byte_element_7001=(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;
|
|
}
|