diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-01-13 14:11:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-01-13 14:11:04 +0000 |
commit | be8db69c2cb1b184265803ff6efb7be5e946a474 (patch) | |
tree | d4a4dc94e4db5e6747075aef2d9a59b6dd3a5d31 /perl_checker.src/tree.mli | |
parent | 4eb762f8af4f23b0ff940f2e5760d5d58756d33f (diff) | |
download | perl_checker-be8db69c2cb1b184265803ff6efb7be5e946a474.tar perl_checker-be8db69c2cb1b184265803ff6efb7be5e946a474.tar.gz perl_checker-be8db69c2cb1b184265803ff6efb7be5e946a474.tar.bz2 perl_checker-be8db69c2cb1b184265803ff6efb7be5e946a474.tar.xz perl_checker-be8db69c2cb1b184265803ff6efb7be5e946a474.zip |
use a float to save the mtime since int overflows.
this fixes the cache being used partially
Diffstat (limited to 'perl_checker.src/tree.mli')
-rw-r--r-- | perl_checker.src/tree.mli | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl_checker.src/tree.mli b/perl_checker.src/tree.mli index 9363a5e..b8615f5 100644 --- a/perl_checker.src/tree.mli +++ b/perl_checker.src/tree.mli @@ -32,7 +32,7 @@ type per_file = { file_name : string ; require_name : string option ; lines_starts : int list ; - build_time : int ; + build_time : float ; packages : per_package list ; from_basedir : bool ; } @@ -43,7 +43,7 @@ val use_lib : string list ref val uses_external_package : string -> bool val findfile : string list -> string -> string -val get_global_info_from_package : bool -> string option -> int -> fromparser list -> per_file +val get_global_info_from_package : bool -> string option -> float -> fromparser list -> per_file val has_proto : string option -> fromparser -> ((context * string) list * pos * fromparser list) option val get_vars_declaration : (context * string * string, pos * prototype option) Hashtbl.t -> string -> per_package -> unit |