mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-01 13:50:36 +00:00
Automatic update of ./internal/source
This commit is contained in:
parent
7f7d9d31da
commit
578268e3a5
|
@ -8,15 +8,3 @@ if(_SUB_RETRIEVESEARCHHISTORY_LONG_LN==NULL){
|
||||||
_SUB_RETRIEVESEARCHHISTORY_LONG_LN=(int32*)mem_static_malloc(4);
|
_SUB_RETRIEVESEARCHHISTORY_LONG_LN=(int32*)mem_static_malloc(4);
|
||||||
*_SUB_RETRIEVESEARCHHISTORY_LONG_LN=0;
|
*_SUB_RETRIEVESEARCHHISTORY_LONG_LN=0;
|
||||||
}
|
}
|
||||||
ptrszint *_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY=NULL;
|
|
||||||
if (!_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY){
|
|
||||||
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY=(ptrszint*)mem_static_malloc(9*ptrsz);
|
|
||||||
new_mem_lock();
|
|
||||||
mem_lock_tmp->type=4;
|
|
||||||
((ptrszint*)_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY)[8]=(ptrszint)mem_lock_tmp;
|
|
||||||
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[2]=0;
|
|
||||||
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[4]=2147483647;
|
|
||||||
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[5]=0;
|
|
||||||
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[6]=0;
|
|
||||||
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[0]=(ptrszint)¬hingstring;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
if (_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[2]&1){
|
|
||||||
tmp_long=_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[5];
|
|
||||||
while(tmp_long--) qbs_free((qbs*)((uint64*)(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[0]))[tmp_long]);
|
|
||||||
free((void*)(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[0]));
|
|
||||||
}
|
|
||||||
free_mem_lock( (mem_lock*)((ptrszint*)_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY)[8] );
|
|
|
@ -203408,45 +203408,45 @@ if ((qbs_cleanup(qbs_tmp_base,-(*_SUB_RETRIEVESEARCHHISTORY_LONG_LN>func_ubound(
|
||||||
if(qbevent){evnt(25830,20086,"ide_methods.bas");if(r)goto S_58299;}
|
if(qbevent){evnt(25830,20086,"ide_methods.bas");if(r)goto S_58299;}
|
||||||
do{
|
do{
|
||||||
|
|
||||||
if (_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[2]&2){
|
if (_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[2]&2){
|
||||||
error(10);
|
error(10);
|
||||||
}else{
|
}else{
|
||||||
((mem_lock*)((ptrszint*)_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY)[8])->id=(++mem_lock_id);
|
((mem_lock*)((ptrszint*)_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY)[8])->id=(++mem_lock_id);
|
||||||
static int32 preserved_elements;
|
static int32 preserved_elements;
|
||||||
if (_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[2]&1){
|
if (_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[2]&1){
|
||||||
preserved_elements=_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[5];
|
preserved_elements=_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[5];
|
||||||
}
|
}
|
||||||
else preserved_elements=0;
|
else preserved_elements=0;
|
||||||
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[4]= 1 ;
|
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[4]= 1 ;
|
||||||
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[5]=(*_SUB_RETRIEVESEARCHHISTORY_LONG_LN+ 10000 )-_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[4]+1;
|
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[5]=(*_SUB_RETRIEVESEARCHHISTORY_LONG_LN+ 10000 )-_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[4]+1;
|
||||||
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[6]=1;
|
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[6]=1;
|
||||||
if (preserved_elements){
|
if (preserved_elements){
|
||||||
static ptrszint tmp_long2;
|
static ptrszint tmp_long2;
|
||||||
tmp_long2=_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[5];
|
tmp_long2=_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[5];
|
||||||
if (tmp_long2<preserved_elements){
|
if (tmp_long2<preserved_elements){
|
||||||
for(tmp_long=tmp_long2;tmp_long<preserved_elements;tmp_long++) {
|
for(tmp_long=tmp_long2;tmp_long<preserved_elements;tmp_long++) {
|
||||||
qbs_free((qbs*)((uint64*)(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[0]))[tmp_long]);
|
qbs_free((qbs*)((uint64*)(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[0]))[tmp_long]);
|
||||||
}}
|
}}
|
||||||
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[0]=(ptrszint)realloc((void*)(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[0]),tmp_long2*8);
|
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[0]=(ptrszint)realloc((void*)(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[0]),tmp_long2*8);
|
||||||
if (!_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[0]) error(257);
|
if (!_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[0]) error(257);
|
||||||
if (preserved_elements<tmp_long2){
|
if (preserved_elements<tmp_long2){
|
||||||
for(tmp_long=preserved_elements;tmp_long<tmp_long2;tmp_long++){
|
for(tmp_long=preserved_elements;tmp_long<tmp_long2;tmp_long++){
|
||||||
if (_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[2]&4){
|
if (_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[2]&4){
|
||||||
((uint64*)(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[0]))[tmp_long]=(uint64)qbs_new_cmem(0,0);
|
((uint64*)(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[0]))[tmp_long]=(uint64)qbs_new_cmem(0,0);
|
||||||
}else{
|
}else{
|
||||||
((uint64*)(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[0]))[tmp_long]=(uint64)qbs_new(0,0);
|
((uint64*)(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[0]))[tmp_long]=(uint64)qbs_new(0,0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[0]=(ptrszint)malloc(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[5]*8);
|
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[0]=(ptrszint)malloc(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[5]*8);
|
||||||
if (!_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[0]) error(257);
|
if (!_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[0]) error(257);
|
||||||
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[2]|=1;
|
_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[2]|=1;
|
||||||
tmp_long=_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[5];
|
tmp_long=_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[5];
|
||||||
if (_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[2]&4){
|
if (_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[2]&4){
|
||||||
while(tmp_long--) ((uint64*)(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[0]))[tmp_long]=(uint64)qbs_new_cmem(0,0);
|
while(tmp_long--) ((uint64*)(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[0]))[tmp_long]=(uint64)qbs_new_cmem(0,0);
|
||||||
}else{
|
}else{
|
||||||
while(tmp_long--) ((uint64*)(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARHHISTORY[0]))[tmp_long]=(uint64)qbs_new(0,0);
|
while(tmp_long--) ((uint64*)(_SUB_RETRIEVESEARCHHISTORY_ARRAY_STRING_SEARCHHISTORY[0]))[tmp_long]=(uint64)qbs_new(0,0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue