Branch: Tag:

2000-06-02

2000-06-02 12:45:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed type for time().

Rev: src/builtin_functions.c:1.255

5:   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.254 2000/04/08 19:27:40 grubba Exp $"); + RCSID("$Id: builtin_functions.c,v 1.255 2000/06/02 12:45:59 grubba Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
5920:      /* function(void|int:int|float) */    ADD_EFUN("time",f_time, -  tFunc(tOr(tVoid,tInt),tOr(tInt,tFlt)),OPT_EXTERNAL_DEPEND); +  tOr(tFunc(tOr(tVoid,tInt01),tInt), +  tFunc(tInt2Plus,tFlt)), +  OPT_EXTERNAL_DEPEND);      /* function(int:int) */    ADD_EFUN("trace",f_trace,tFunc(tInt,tInt),OPT_SIDE_EFFECT);