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 | 0534eb2c7cf65db5d0e07e03b14d361f04df3e09 (patch) | |
tree | f362a979c0ce9f07d8b4719863905a85cb137c08 /perl_checker.src/tree.mli | |
parent | b3e55b9596ad46d0411bae54194beeaa32aab585 (diff) | |
download | perl-MDK-Common-0534eb2c7cf65db5d0e07e03b14d361f04df3e09.tar perl-MDK-Common-0534eb2c7cf65db5d0e07e03b14d361f04df3e09.tar.gz perl-MDK-Common-0534eb2c7cf65db5d0e07e03b14d361f04df3e09.tar.bz2 perl-MDK-Common-0534eb2c7cf65db5d0e07e03b14d361f04df3e09.tar.xz perl-MDK-Common-0534eb2c7cf65db5d0e07e03b14d361f04df3e09.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 |