Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type (!'a, !'b) t = {
mutable date : float;
mutable last_cleanup : float;
opt_size : int;
max_size : int;
tbl : ('a, 'b * float Pervasives.ref) Hashtbl.t;
}
val create : int -> ('a, 'b) t
val cleanup : ('a, 'b) t -> unit
val unsafe_add : ('a, 'b) t -> 'a -> 'b -> unit
val add : ('a, 'b) t -> 'a -> 'b -> unit
val find : ('a, 'b) t -> 'a -> 'b
val clear : ('a, 'b) t -> unit