-
Notifications
You must be signed in to change notification settings - Fork 86
/
Copy pathgeneric_fns.mli
30 lines (23 loc) · 1.17 KB
/
generic_fns.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
(**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* Copyright 2023 Jane Street Group *)
(* *)
(* All rights reserved. This file is distributed under the terms of *)
(* the GNU Lesser General Public License version 2.1, with the *)
(* special exception on linking described in the file LICENSE. *)
(* *)
(**************************************************************************)
(** Generate generic functions *)
module Tbl : sig
type t
val make : unit -> t
val add : t -> Cmx_format.generic_fns -> unit
val of_fns : Cmx_format.generic_fns -> t
val entries : t -> Cmx_format.generic_fns
end
module Cache : sig
val all : unit -> (string, Tbl.t) Hashtbl.t
end
val compile : shared:bool -> Tbl.t -> Cmm.phrase list