package ctypes-zarith

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val clear : ptr -> unit
val init : ptr -> unit
val set : Z.t -> ptr -> unit
val make : unit -> ptr

like Ctypes.make, but with finalise and type already specified. mpz is initialized.

val of_z : Z.t -> ptr
val to_z : ptr -> Z.t
val zarith : Z.t Ctypes.typ
val t_ptr : ptr Ctypes.typ