mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 11:15:43 -05:00
format
This commit is contained in:
parent
df287e4ef7
commit
2a0feed32c
2 changed files with 35 additions and 36 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
(* registry keys *)
|
||||
module type KEY = sig
|
||||
type elt
|
||||
|
|
@ -12,6 +11,8 @@
|
|||
type t = { tbl: exn Util.Int_tbl.t } [@@unboxed]
|
||||
|
||||
let create () : t = { tbl = Util.Int_tbl.create 8 }
|
||||
|
||||
(* TODO: use atomic *)
|
||||
let n_ = ref 0
|
||||
|
||||
let create_key (type a) () : a key =
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
(** Registry to extract values *)
|
||||
|
||||
type t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue