package core_kernel

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Unsafe.PointerSource

Sourcetype 'a t = private int

A pointer to a tuple in a pool. 'slots will look like ('a1, ..., 'an) Slots.tn, and the tuples have type 'a1 * ... * 'an.

Sourceval sexp_of_t : ('slots -> Sexplib0.Sexp.t) -> 'slots t -> Sexplib0.Sexp.t
Sourceval null : unit -> _ t

The null pointer is a distinct pointer that does not correspond to a tuple in the pool. It is a function to prevent problems due to the value restriction.

Sourceval is_null : _ t -> bool
Sourceval phys_compare : 'a t -> 'a t -> int
Sourceval phys_equal : 'a t -> 'a t -> bool
Sourcemodule Id : sig ... end