package gobject-introspection

  1. Overview
  2. Docs

Value_info — Struct representing a value

type t

Represents a enum value of a Enum_info.

val valueinfo : t Ctypes.structure Ctypes.typ
val get_value : t Ctypes.structure Ctypes.ptr -> int64

Obtain the enumeration value of the Value_info.

Just cast OCaml Ctypes base info to enum info.

Just cast OCaml Ctypes enum info to base info

Add unref of the C underlying structure whith Gc.finalise.

Return a Struct_info.t from a Base_info.t, the underlying C structure ref count is increased and the value is Gc.finalis"ed" with Base_info.baseinfo_unref.

Return a Base_info.t form a Struct_info, the underlying C structure ref count is increased and the value is Gc.finalis"ed" with Base_info.baseinfo_unref.

OCaml

Innovation. Community. Security.