package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054

doc/src/ocgtk.common/bounded_int.ml.html

Source file bounded_int.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
(**************************************************************************)
(*                ocgtk - OCaml bindings for GTK4                         *)
(*                                                                        *)
(*    This program is free software; you can redistribute it              *)
(*    and/or modify it under the terms of the GNU Library General         *)
(*    Public License version 2, as published by the                       *)
(*    Free Software Foundation with the exception described in file       *)
(*    COPYING which comes with the library.                               *)
(*                                                                        *)
(*    Based on lablgtk3 (https://github.com/garrigue/lablgtk)             *)
(*                                                                        *)
(**************************************************************************)

(* Convenience re-export of the individual bounded integer modules.
 * The canonical implementations live in uInt8.ml, int8.ml, uInt16.ml,
 * int16.ml, uInt32.ml, int32.ml, and uInt64.ml; they are exposed as flat
 * top-level modules (UInt8, Int8, …) because ocgtk_common is (wrapped false).
 * This module lets callers write Bounded_int.UInt16 if they prefer
 * an explicit namespace. *)

module UInt8 = UInt8
module Int8 = Int8
module UInt16 = UInt16
module Int16 = Int16
module UInt32 = UInt32
module Int32 = Int32
module UInt64 = UInt64