Module Allocators.Basic

A basic int allocator

Automatically registers a resetter

Parameters

Signature

type t = int
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
val to_string : t -> string
val of_string : string -> t