pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
2000-06-02
2000-06-02 12:45:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>
185a0ef62f1a054cd7080182a282c74133ad4d90 (
7
lines) (+
5
/-
2
)
[
Show
|
Annotate
]
Branch:
7.0
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);