[INTERPRETER]
* NEW: IsInteger(), IsLong(), IsFloat(), IsDate() and IsNumber() argument now must be a string. There is no automatic conversion anymore. git-svn-id: svn://localhost/gambas/trunk@3390 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
213c24ba42
commit
72aee6fbc1
2 changed files with 4 additions and 4 deletions
|
@ -246,12 +246,12 @@ char *EVENT_enter_name(const char *name)
|
|||
{
|
||||
char *save = EVENT_PreviousName;
|
||||
EVENT_PreviousName = EVENT_Name;
|
||||
EVENT_Name = name;
|
||||
EVENT_Name = (char *)name;
|
||||
return save;
|
||||
}
|
||||
|
||||
void EVENT_leave_name(const char *save)
|
||||
{
|
||||
EVENT_Name = EVENT_PreviousName;
|
||||
EVENT_PreviousName = save;
|
||||
EVENT_PreviousName = (char *)save;
|
||||
}
|
||||
|
|
|
@ -51,8 +51,8 @@ void SUBR_is_type(ushort code)
|
|||
if (code == T_NULL)
|
||||
goto __NULL;
|
||||
|
||||
VALUE_conv_string(PARAM);
|
||||
VALUE_get_string(PARAM, &addr, &len);
|
||||
//VALUE_conv_string(PARAM);
|
||||
SUBR_get_string_len(PARAM, &addr, &len);
|
||||
VALUE_from_string(&temp, addr, len);
|
||||
|
||||
goto *jump[code];
|
||||
|
|
Loading…
Reference in a new issue