mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
46 lines
1.6 KiB
Text
46 lines
1.6 KiB
Text
int16 *_FUNC_OPENBUFFER_INTEGER_OPENBUFFER=NULL;
|
|
if(_FUNC_OPENBUFFER_INTEGER_OPENBUFFER==NULL){
|
|
_FUNC_OPENBUFFER_INTEGER_OPENBUFFER=(int16*)mem_static_malloc(2);
|
|
*_FUNC_OPENBUFFER_INTEGER_OPENBUFFER=0;
|
|
}
|
|
qbs*oldstr4039=NULL;
|
|
if(_FUNC_OPENBUFFER_STRING_SBMODE->tmp||_FUNC_OPENBUFFER_STRING_SBMODE->fixed||_FUNC_OPENBUFFER_STRING_SBMODE->readonly){
|
|
oldstr4039=_FUNC_OPENBUFFER_STRING_SBMODE;
|
|
if (oldstr4039->cmem_descriptor){
|
|
_FUNC_OPENBUFFER_STRING_SBMODE=qbs_new_cmem(oldstr4039->len,0);
|
|
}else{
|
|
_FUNC_OPENBUFFER_STRING_SBMODE=qbs_new(oldstr4039->len,0);
|
|
}
|
|
memcpy(_FUNC_OPENBUFFER_STRING_SBMODE->chr,oldstr4039->chr,oldstr4039->len);
|
|
}
|
|
qbs*oldstr4040=NULL;
|
|
if(_FUNC_OPENBUFFER_STRING_SBNAME->tmp||_FUNC_OPENBUFFER_STRING_SBNAME->fixed||_FUNC_OPENBUFFER_STRING_SBNAME->readonly){
|
|
oldstr4040=_FUNC_OPENBUFFER_STRING_SBNAME;
|
|
if (oldstr4040->cmem_descriptor){
|
|
_FUNC_OPENBUFFER_STRING_SBNAME=qbs_new_cmem(oldstr4040->len,0);
|
|
}else{
|
|
_FUNC_OPENBUFFER_STRING_SBNAME=qbs_new(oldstr4040->len,0);
|
|
}
|
|
memcpy(_FUNC_OPENBUFFER_STRING_SBNAME->chr,oldstr4040->chr,oldstr4040->len);
|
|
}
|
|
int16 *_FUNC_OPENBUFFER_INTEGER_BUF=NULL;
|
|
if(_FUNC_OPENBUFFER_INTEGER_BUF==NULL){
|
|
_FUNC_OPENBUFFER_INTEGER_BUF=(int16*)mem_static_malloc(2);
|
|
*_FUNC_OPENBUFFER_INTEGER_BUF=0;
|
|
}
|
|
int32 *_FUNC_OPENBUFFER_LONG_NUL=NULL;
|
|
if(_FUNC_OPENBUFFER_LONG_NUL==NULL){
|
|
_FUNC_OPENBUFFER_LONG_NUL=(int32*)mem_static_malloc(4);
|
|
*_FUNC_OPENBUFFER_LONG_NUL=0;
|
|
}
|
|
int32 fornext_value4042;
|
|
int32 fornext_finalvalue4042;
|
|
int32 fornext_step4042;
|
|
uint8 fornext_step_negative4042;
|
|
static qbs *sc_4043=qbs_new(0,0);
|
|
int32 pass4044;
|
|
int16 pass4045;
|
|
int32 pass4046;
|
|
int16 pass4047;
|
|
int32 pass4048;
|
|
int16 pass4049;
|