mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-12 16:40:25 +00:00
35 lines
1.7 KiB
Text
35 lines
1.7 KiB
Text
qbs *_FUNC_WIKIGETUNTIL_STRING_WIKIGETUNTIL=NULL;
|
|
if (!_FUNC_WIKIGETUNTIL_STRING_WIKIGETUNTIL)_FUNC_WIKIGETUNTIL_STRING_WIKIGETUNTIL=qbs_new(0,0);
|
|
qbs*oldstr5772=NULL;
|
|
if(_FUNC_WIKIGETUNTIL_STRING_A->tmp||_FUNC_WIKIGETUNTIL_STRING_A->fixed||_FUNC_WIKIGETUNTIL_STRING_A->readonly){
|
|
oldstr5772=_FUNC_WIKIGETUNTIL_STRING_A;
|
|
if (oldstr5772->cmem_descriptor){
|
|
_FUNC_WIKIGETUNTIL_STRING_A=qbs_new_cmem(oldstr5772->len,0);
|
|
}else{
|
|
_FUNC_WIKIGETUNTIL_STRING_A=qbs_new(oldstr5772->len,0);
|
|
}
|
|
memcpy(_FUNC_WIKIGETUNTIL_STRING_A->chr,oldstr5772->chr,oldstr5772->len);
|
|
}
|
|
qbs*oldstr5773=NULL;
|
|
if(_FUNC_WIKIGETUNTIL_STRING_SEPARATOR->tmp||_FUNC_WIKIGETUNTIL_STRING_SEPARATOR->fixed||_FUNC_WIKIGETUNTIL_STRING_SEPARATOR->readonly){
|
|
oldstr5773=_FUNC_WIKIGETUNTIL_STRING_SEPARATOR;
|
|
if (oldstr5773->cmem_descriptor){
|
|
_FUNC_WIKIGETUNTIL_STRING_SEPARATOR=qbs_new_cmem(oldstr5773->len,0);
|
|
}else{
|
|
_FUNC_WIKIGETUNTIL_STRING_SEPARATOR=qbs_new(oldstr5773->len,0);
|
|
}
|
|
memcpy(_FUNC_WIKIGETUNTIL_STRING_SEPARATOR->chr,oldstr5773->chr,oldstr5773->len);
|
|
}
|
|
byte_element_struct *byte_element_5774=NULL;
|
|
if (!byte_element_5774){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_5774=(byte_element_struct*)(mem_static_pointer-12); else byte_element_5774=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_WIKIGETUNTIL_LONG_J=NULL;
|
|
if(_FUNC_WIKIGETUNTIL_LONG_J==NULL){
|
|
_FUNC_WIKIGETUNTIL_LONG_J=(int32*)mem_static_malloc(4);
|
|
*_FUNC_WIKIGETUNTIL_LONG_J=0;
|
|
}
|
|
byte_element_struct *byte_element_5775=NULL;
|
|
if (!byte_element_5775){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_5775=(byte_element_struct*)(mem_static_pointer-12); else byte_element_5775=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|