mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-30 21:10:16 +00:00
46 lines
1.4 KiB
Text
46 lines
1.4 KiB
Text
|
int32 *_FUNC_VRGBS_LONG_VRGBS=NULL;
|
||
|
if(_FUNC_VRGBS_LONG_VRGBS==NULL){
|
||
|
_FUNC_VRGBS_LONG_VRGBS=(int32*)mem_static_malloc(4);
|
||
|
*_FUNC_VRGBS_LONG_VRGBS=0;
|
||
|
}
|
||
|
qbs*oldstr3381=NULL;
|
||
|
if(_FUNC_VRGBS_STRING_TEXT->tmp||_FUNC_VRGBS_STRING_TEXT->fixed||_FUNC_VRGBS_STRING_TEXT->readonly){
|
||
|
oldstr3381=_FUNC_VRGBS_STRING_TEXT;
|
||
|
if (oldstr3381->cmem_descriptor){
|
||
|
_FUNC_VRGBS_STRING_TEXT=qbs_new_cmem(oldstr3381->len,0);
|
||
|
}else{
|
||
|
_FUNC_VRGBS_STRING_TEXT=qbs_new(oldstr3381->len,0);
|
||
|
}
|
||
|
memcpy(_FUNC_VRGBS_STRING_TEXT->chr,oldstr3381->chr,oldstr3381->len);
|
||
|
}
|
||
|
int32 *_FUNC_VRGBS_LONG_RPOS=NULL;
|
||
|
if(_FUNC_VRGBS_LONG_RPOS==NULL){
|
||
|
_FUNC_VRGBS_LONG_RPOS=(int32*)mem_static_malloc(4);
|
||
|
*_FUNC_VRGBS_LONG_RPOS=0;
|
||
|
}
|
||
|
int32 *_FUNC_VRGBS_LONG_GPOS=NULL;
|
||
|
if(_FUNC_VRGBS_LONG_GPOS==NULL){
|
||
|
_FUNC_VRGBS_LONG_GPOS=(int32*)mem_static_malloc(4);
|
||
|
*_FUNC_VRGBS_LONG_GPOS=0;
|
||
|
}
|
||
|
int32 *_FUNC_VRGBS_LONG_BPOS=NULL;
|
||
|
if(_FUNC_VRGBS_LONG_BPOS==NULL){
|
||
|
_FUNC_VRGBS_LONG_BPOS=(int32*)mem_static_malloc(4);
|
||
|
*_FUNC_VRGBS_LONG_BPOS=0;
|
||
|
}
|
||
|
int32 *_FUNC_VRGBS_LONG_RED=NULL;
|
||
|
if(_FUNC_VRGBS_LONG_RED==NULL){
|
||
|
_FUNC_VRGBS_LONG_RED=(int32*)mem_static_malloc(4);
|
||
|
*_FUNC_VRGBS_LONG_RED=0;
|
||
|
}
|
||
|
int32 *_FUNC_VRGBS_LONG_GREEN=NULL;
|
||
|
if(_FUNC_VRGBS_LONG_GREEN==NULL){
|
||
|
_FUNC_VRGBS_LONG_GREEN=(int32*)mem_static_malloc(4);
|
||
|
*_FUNC_VRGBS_LONG_GREEN=0;
|
||
|
}
|
||
|
int32 *_FUNC_VRGBS_LONG_BLUE=NULL;
|
||
|
if(_FUNC_VRGBS_LONG_BLUE==NULL){
|
||
|
_FUNC_VRGBS_LONG_BLUE=(int32*)mem_static_malloc(4);
|
||
|
*_FUNC_VRGBS_LONG_BLUE=0;
|
||
|
}
|