mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 19:50:16 +00:00
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
|
int32 *_FUNC_HASHVALUE_LONG_HASHVALUE=NULL;
|
||
|
if(_FUNC_HASHVALUE_LONG_HASHVALUE==NULL){
|
||
|
_FUNC_HASHVALUE_LONG_HASHVALUE=(int32*)mem_static_malloc(4);
|
||
|
*_FUNC_HASHVALUE_LONG_HASHVALUE=0;
|
||
|
}
|
||
|
qbs*oldstr4470=NULL;
|
||
|
if(_FUNC_HASHVALUE_STRING_A->tmp||_FUNC_HASHVALUE_STRING_A->fixed||_FUNC_HASHVALUE_STRING_A->readonly){
|
||
|
oldstr4470=_FUNC_HASHVALUE_STRING_A;
|
||
|
if (oldstr4470->cmem_descriptor){
|
||
|
_FUNC_HASHVALUE_STRING_A=qbs_new_cmem(oldstr4470->len,0);
|
||
|
}else{
|
||
|
_FUNC_HASHVALUE_STRING_A=qbs_new(oldstr4470->len,0);
|
||
|
}
|
||
|
memcpy(_FUNC_HASHVALUE_STRING_A->chr,oldstr4470->chr,oldstr4470->len);
|
||
|
}
|
||
|
int32 *_FUNC_HASHVALUE_LONG_L=NULL;
|
||
|
if(_FUNC_HASHVALUE_LONG_L==NULL){
|
||
|
_FUNC_HASHVALUE_LONG_L=(int32*)mem_static_malloc(4);
|
||
|
*_FUNC_HASHVALUE_LONG_L=0;
|
||
|
}
|
||
|
byte_element_struct *byte_element_4471=NULL;
|
||
|
if (!byte_element_4471){
|
||
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4471=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4471=(byte_element_struct*)mem_static_malloc(12);
|
||
|
}
|
||
|
int32 *_FUNC_HASHVALUE_LONG_A=NULL;
|
||
|
if(_FUNC_HASHVALUE_LONG_A==NULL){
|
||
|
_FUNC_HASHVALUE_LONG_A=(int32*)mem_static_malloc(4);
|
||
|
*_FUNC_HASHVALUE_LONG_A=0;
|
||
|
}
|