package ctypes-zarith

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

Module Ctypes_zarith.MPQSource

Sourcetype t
Sourceval clear : ptr -> unit
Sourceval init : ptr -> unit
Sourceval set : Q.t -> ptr -> unit
Sourceval make : unit -> ptr

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

Sourceval of_q : Q.t -> ptr
Sourceval to_q : ptr -> Q.t
Sourceval zarith : Q.t Ctypes.typ
Sourceval t_ptr : ptr Ctypes.typ