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/ocgtk.common/Int8/index.html

Module Int8Source

Signed 8-bit integer (gint8).

Backed by private int — no heap allocation. Range: -128, 127.

Sourcetype t = private int
Sourceval of_int : int -> t

of_int n converts n to an Int8.t.

Sourceval to_int : t -> int

to_int v returns the underlying integer value.

Sourceval min_int : t

The minimum value: -128.

Sourceval max_int : t

The maximum value: 127.

Sourceval minus_one : t

The value -1.

Sourceval min_value : int

The minimum value representable as an int, equal to to_int min_int.

Sourceval max_value : int

The maximum value representable as an int, equal to to_int max_int.