Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
type_description.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
open Ctypes module Types (F : Ctypes.TYPE) = struct open F type fmpz = Signed.Long.t type fmpz_t = fmpz ptr let fmpz : fmpz typ = long let fmpz_t : fmpz_t typ = ptr fmpz module FMPQ = struct type s type t = s structure let t : t typ = let s = structure "fmpq_struct" in typedef s "fmpq" let num = field t "num" fmpz let den = field t "den" fmpz let () = seal t end type fmpq = FMPQ.t structure type fmpq_t = FMPQ.t ptr let fmpq = FMPQ.t let fmpq_t = ptr FMPQ.t end