mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 11:25:08 +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*oldstr6100=NULL;
|
|
if(_FUNC_WIKIGETUNTIL_STRING_A->tmp||_FUNC_WIKIGETUNTIL_STRING_A->fixed||_FUNC_WIKIGETUNTIL_STRING_A->readonly){
|
|
oldstr6100=_FUNC_WIKIGETUNTIL_STRING_A;
|
|
if (oldstr6100->cmem_descriptor){
|
|
_FUNC_WIKIGETUNTIL_STRING_A=qbs_new_cmem(oldstr6100->len,0);
|
|
}else{
|
|
_FUNC_WIKIGETUNTIL_STRING_A=qbs_new(oldstr6100->len,0);
|
|
}
|
|
memcpy(_FUNC_WIKIGETUNTIL_STRING_A->chr,oldstr6100->chr,oldstr6100->len);
|
|
}
|
|
qbs*oldstr6101=NULL;
|
|
if(_FUNC_WIKIGETUNTIL_STRING_SEPARATOR->tmp||_FUNC_WIKIGETUNTIL_STRING_SEPARATOR->fixed||_FUNC_WIKIGETUNTIL_STRING_SEPARATOR->readonly){
|
|
oldstr6101=_FUNC_WIKIGETUNTIL_STRING_SEPARATOR;
|
|
if (oldstr6101->cmem_descriptor){
|
|
_FUNC_WIKIGETUNTIL_STRING_SEPARATOR=qbs_new_cmem(oldstr6101->len,0);
|
|
}else{
|
|
_FUNC_WIKIGETUNTIL_STRING_SEPARATOR=qbs_new(oldstr6101->len,0);
|
|
}
|
|
memcpy(_FUNC_WIKIGETUNTIL_STRING_SEPARATOR->chr,oldstr6101->chr,oldstr6101->len);
|
|
}
|
|
byte_element_struct *byte_element_6102=NULL;
|
|
if (!byte_element_6102){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6102=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6102=(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_6103=NULL;
|
|
if (!byte_element_6103){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6103=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6103=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|