1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-20 19:45:15 +00:00
qb64/internal/source/data101.txt
SMcNeill 3941732ed5 Push for Luke that fixes the CLOCK routine to stop massive IDE lag for LINUX users.
Also set name for new commands to _DESKTOPWIDTH, _DESKTOPHEIHT, _SCREENICON as the community seemed to prefer them.
2014-07-11 02:57:14 -04:00

24 lines
1 KiB
Plaintext

int32 *_FUNC_IDEHLEN_LONG_IDEHLEN=NULL;
if(_FUNC_IDEHLEN_LONG_IDEHLEN==NULL){
_FUNC_IDEHLEN_LONG_IDEHLEN=(int32*)mem_static_malloc(4);
*_FUNC_IDEHLEN_LONG_IDEHLEN=0;
}
qbs*oldstr9014=NULL;
if(_FUNC_IDEHLEN_STRING_A->tmp||_FUNC_IDEHLEN_STRING_A->fixed||_FUNC_IDEHLEN_STRING_A->readonly){
oldstr9014=_FUNC_IDEHLEN_STRING_A;
if (oldstr9014->cmem_descriptor){
_FUNC_IDEHLEN_STRING_A=qbs_new_cmem(oldstr9014->len,0);
}else{
_FUNC_IDEHLEN_STRING_A=qbs_new(oldstr9014->len,0);
}
memcpy(_FUNC_IDEHLEN_STRING_A->chr,oldstr9014->chr,oldstr9014->len);
}
byte_element_struct *byte_element_9015=NULL;
if (!byte_element_9015){
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_9015=(byte_element_struct*)(mem_static_pointer-12); else byte_element_9015=(byte_element_struct*)mem_static_malloc(12);
}
byte_element_struct *byte_element_9016=NULL;
if (!byte_element_9016){
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_9016=(byte_element_struct*)(mem_static_pointer-12); else byte_element_9016=(byte_element_struct*)mem_static_malloc(12);
}