Module Allocators.Make_with_prefix

Wraps an allocator A with a string prefix

Assumes that A's resetter has already been registered

Parameters

module P : sig ... end

Signature

type t = string
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val equal : t -> t -> Ppx_deriving_runtime.bool
val compare : t -> t -> Ppx_deriving_runtime.int
val alloc : unit -> t
val dealloc : t -> unit
val eq : t -> t -> bool
val reset : unit -> unit