package ocgtk

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

Module GsizeSource

A non-negative integer representing a GLib gsize (equivalent to C size_t). Values are guaranteed to be non-negative; use of_int to construct.

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

of_int n is n as a gsize.

Sourceval to_int : t -> int

to_int v returns the underlying integer value.

Sourceval zero : t

The value 0.

Sourceval max_int : t

The maximum value: Stdlib.max_int.

Sourceval min_value : int

The minimum value representable as an int: 0.

Sourceval max_value : int

The maximum value representable as an int: Stdlib.max_int.