mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-31 13:30:15 +00:00
24 lines
1 KiB
Text
24 lines
1 KiB
Text
int32 *_FUNC_VERIFYNUMBER_LONG_VERIFYNUMBER=NULL;
|
|
if(_FUNC_VERIFYNUMBER_LONG_VERIFYNUMBER==NULL){
|
|
_FUNC_VERIFYNUMBER_LONG_VERIFYNUMBER=(int32*)mem_static_malloc(4);
|
|
*_FUNC_VERIFYNUMBER_LONG_VERIFYNUMBER=0;
|
|
}
|
|
qbs*oldstr3579=NULL;
|
|
if(_FUNC_VERIFYNUMBER_STRING_TEXT->tmp||_FUNC_VERIFYNUMBER_STRING_TEXT->fixed||_FUNC_VERIFYNUMBER_STRING_TEXT->readonly){
|
|
oldstr3579=_FUNC_VERIFYNUMBER_STRING_TEXT;
|
|
if (oldstr3579->cmem_descriptor){
|
|
_FUNC_VERIFYNUMBER_STRING_TEXT=qbs_new_cmem(oldstr3579->len,0);
|
|
}else{
|
|
_FUNC_VERIFYNUMBER_STRING_TEXT=qbs_new(oldstr3579->len,0);
|
|
}
|
|
memcpy(_FUNC_VERIFYNUMBER_STRING_TEXT->chr,oldstr3579->chr,oldstr3579->len);
|
|
}
|
|
qbs *_FUNC_VERIFYNUMBER_STRING_T=NULL;
|
|
if (!_FUNC_VERIFYNUMBER_STRING_T)_FUNC_VERIFYNUMBER_STRING_T=qbs_new(0,0);
|
|
int32 *_FUNC_VERIFYNUMBER_LONG_V=NULL;
|
|
if(_FUNC_VERIFYNUMBER_LONG_V==NULL){
|
|
_FUNC_VERIFYNUMBER_LONG_V=(int32*)mem_static_malloc(4);
|
|
*_FUNC_VERIFYNUMBER_LONG_V=0;
|
|
}
|
|
qbs *_FUNC_VERIFYNUMBER_STRING_T1=NULL;
|
|
if (!_FUNC_VERIFYNUMBER_STRING_T1)_FUNC_VERIFYNUMBER_STRING_T1=qbs_new(0,0);
|