<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>TYPE (gobject-introspection.GObject_introspection__Bindings_stubs_function_info.TYPE)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> – <a href="../../index.html">gobject-introspection</a> &#x00BB; <a href="../index.html">GObject_introspection__Bindings_stubs_function_info</a> &#x00BB; TYPE</nav><h1>Module type <code>GObject_introspection__Bindings_stubs_function_info.TYPE</code></h1></header><dl><dt class="spec type" id="type-typ"><a href="#type-typ" class="anchor"></a><code><span class="keyword">type</span> <span>'a typ</span></code></dt></dl><dl><dt class="spec value" id="val-void"><a href="#val-void" class="anchor"></a><code><span class="keyword">val</span> void : <span>unit <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-char"><a href="#val-char" class="anchor"></a><code><span class="keyword">val</span> char : <span>char <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-schar"><a href="#val-schar" class="anchor"></a><code><span class="keyword">val</span> schar : <span>int <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-short"><a href="#val-short" class="anchor"></a><code><span class="keyword">val</span> short : <span>int <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-int"><a href="#val-int" class="anchor"></a><code><span class="keyword">val</span> int : <span>int <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-long"><a href="#val-long" class="anchor"></a><code><span class="keyword">val</span> long : <span>Signed.long <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-llong"><a href="#val-llong" class="anchor"></a><code><span class="keyword">val</span> llong : <span>Signed.llong <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-nativeint"><a href="#val-nativeint" class="anchor"></a><code><span class="keyword">val</span> nativeint : <span>nativeint <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-int8_t"><a href="#val-int8_t" class="anchor"></a><code><span class="keyword">val</span> int8_t : <span>int <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-int16_t"><a href="#val-int16_t" class="anchor"></a><code><span class="keyword">val</span> int16_t : <span>int <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-int32_t"><a href="#val-int32_t" class="anchor"></a><code><span class="keyword">val</span> int32_t : <span>int32 <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-int64_t"><a href="#val-int64_t" class="anchor"></a><code><span class="keyword">val</span> int64_t : <span>int64 <a href="index.html#type-typ">typ</a></span></code></dt></dl><div class="spec module" id="module-Intptr"><a href="#module-Intptr" class="anchor"></a><code><span class="keyword">module</span> Intptr : Signed.S</code></div><dl><dt class="spec value" id="val-intptr_t"><a href="#val-intptr_t" class="anchor"></a><code><span class="keyword">val</span> intptr_t : <span><a href="index.html#module-Intptr">Intptr</a>.t <a href="index.html#type-typ">typ</a></span></code></dt></dl><div class="spec module" id="module-Ptrdiff"><a href="#module-Ptrdiff" class="anchor"></a><code><span class="keyword">module</span> Ptrdiff : Signed.S</code></div><dl><dt class="spec value" id="val-ptrdiff_t"><a href="#val-ptrdiff_t" class="anchor"></a><code><span class="keyword">val</span> ptrdiff_t : <span><a href="index.html#module-Ptrdiff">Ptrdiff</a>.t <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-camlint"><a href="#val-camlint" class="anchor"></a><code><span class="keyword">val</span> camlint : <span>int <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-uchar"><a href="#val-uchar" class="anchor"></a><code><span class="keyword">val</span> uchar : <span>Unsigned.uchar <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-bool"><a href="#val-bool" class="anchor"></a><code><span class="keyword">val</span> bool : <span>bool <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-uint8_t"><a href="#val-uint8_t" class="anchor"></a><code><span class="keyword">val</span> uint8_t : <span>Unsigned.uint8 <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-uint16_t"><a href="#val-uint16_t" class="anchor"></a><code><span class="keyword">val</span> uint16_t : <span>Unsigned.uint16 <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-uint32_t"><a href="#val-uint32_t" class="anchor"></a><code><span class="keyword">val</span> uint32_t : <span>Unsigned.uint32 <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-uint64_t"><a href="#val-uint64_t" class="anchor"></a><code><span class="keyword">val</span> uint64_t : <span>Unsigned.uint64 <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-size_t"><a href="#val-size_t" class="anchor"></a><code><span class="keyword">val</span> size_t : <span>Unsigned.size_t <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-ushort"><a href="#val-ushort" class="anchor"></a><code><span class="keyword">val</span> ushort : <span>Unsigned.ushort <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-sint"><a href="#val-sint" class="anchor"></a><code><span class="keyword">val</span> sint : <span>Signed.sint <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-uint"><a href="#val-uint" class="anchor"></a><code><span class="keyword">val</span> uint : <span>Unsigned.uint <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-ulong"><a href="#val-ulong" class="anchor"></a><code><span class="keyword">val</span> ulong : <span>Unsigned.ulong <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-ullong"><a href="#val-ullong" class="anchor"></a><code><span class="keyword">val</span> ullong : <span>Unsigned.ullong <a href="index.html#type-typ">typ</a></span></code></dt></dl><div class="spec module" id="module-Uintptr"><a href="#module-Uintptr" class="anchor"></a><code><span class="keyword">module</span> Uintptr : Unsigned.S</code></div><dl><dt class="spec value" id="val-uintptr_t"><a href="#val-uintptr_t" class="anchor"></a><code><span class="keyword">val</span> uintptr_t : <span><a href="index.html#module-Uintptr">Uintptr</a>.t <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-float"><a href="#val-float" class="anchor"></a><code><span class="keyword">val</span> float : <span>float <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-double"><a href="#val-double" class="anchor"></a><code><span class="keyword">val</span> double : <span>float <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-ldouble"><a href="#val-ldouble" class="anchor"></a><code><span class="keyword">val</span> ldouble : <span>LDouble.t <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-complex32"><a href="#val-complex32" class="anchor"></a><code><span class="keyword">val</span> complex32 : <span>Stdlib.Complex.t <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-complex64"><a href="#val-complex64" class="anchor"></a><code><span class="keyword">val</span> complex64 : <span>Stdlib.Complex.t <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-complexld"><a href="#val-complexld" class="anchor"></a><code><span class="keyword">val</span> complexld : <span>ComplexL.t <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-ptr"><a href="#val-ptr" class="anchor"></a><code><span class="keyword">val</span> ptr : <span><span class="type-var">'a</span> <a href="index.html#type-typ">typ</a></span> <span>&#45;&gt;</span> <span><span><span class="type-var">'a</span> Ctypes_static.ptr</span> <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-ptr_opt"><a href="#val-ptr_opt" class="anchor"></a><code><span class="keyword">val</span> ptr_opt : <span><span class="type-var">'a</span> <a href="index.html#type-typ">typ</a></span> <span>&#45;&gt;</span> <span><span><span><span class="type-var">'a</span> Ctypes_static.ptr</span> option</span> <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-string"><a href="#val-string" class="anchor"></a><code><span class="keyword">val</span> string : <span>string <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-string_opt"><a href="#val-string_opt" class="anchor"></a><code><span class="keyword">val</span> string_opt : <span><span>string option</span> <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-ocaml_string"><a href="#val-ocaml_string" class="anchor"></a><code><span class="keyword">val</span> ocaml_string : <span><span>string Ctypes_static.ocaml</span> <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-ocaml_bytes"><a href="#val-ocaml_bytes" class="anchor"></a><code><span class="keyword">val</span> ocaml_bytes : <span><span>Stdlib.Bytes.t Ctypes_static.ocaml</span> <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-array"><a href="#val-array" class="anchor"></a><code><span class="keyword">val</span> array : int <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-typ">typ</a></span> <span>&#45;&gt;</span> <span><span><span class="type-var">'a</span> Ctypes_static.carray</span> <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-bigarray"><a href="#val-bigarray" class="anchor"></a><code><span class="keyword">val</span> bigarray : <span>&lt; ba_repr : <span class="type-var">'b</span>; bigarray : <span class="type-var">'bigarray</span>; carray : <span class="type-var">'c</span>; dims : <span class="type-var">'dims</span>; element : <span class="type-var">'a</span>; layout : Bigarray.c_layout; &gt; Ctypes_static.bigarray_class</span> <span>&#45;&gt;</span> <span class="type-var">'dims</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> Bigarray.kind</span> <span>&#45;&gt;</span> <span><span class="type-var">'bigarray</span> <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-fortran_bigarray"><a href="#val-fortran_bigarray" class="anchor"></a><code><span class="keyword">val</span> fortran_bigarray : <span>&lt; ba_repr : <span class="type-var">'b</span>; bigarray : <span class="type-var">'bigarray</span>; carray : <span class="type-var">'c</span>; dims : <span class="type-var">'dims</span>; element : <span class="type-var">'a</span>; layout : Bigarray.fortran_layout; &gt; Ctypes_static.bigarray_class</span> <span>&#45;&gt;</span> <span class="type-var">'dims</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> Bigarray.kind</span> <span>&#45;&gt;</span> <span><span class="type-var">'bigarray</span> <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-typ_of_bigarray_kind"><a href="#val-typ_of_bigarray_kind" class="anchor"></a><code><span class="keyword">val</span> typ_of_bigarray_kind : <span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> Bigarray.kind</span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-typ">typ</a></span></code></dt></dl><dl><dt class="spec type" id="type-field"><a href="#type-field" class="anchor"></a><code><span class="keyword">type</span> <span>('a, 't) field</span></code></dt></dl><dl><dt class="spec value" id="val-structure"><a href="#val-structure" class="anchor"></a><code><span class="keyword">val</span> structure : string <span>&#45;&gt;</span> <span><span><span class="type-var">'s</span> Ctypes_static.structure</span> <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-union"><a href="#val-union" class="anchor"></a><code><span class="keyword">val</span> union : string <span>&#45;&gt;</span> <span><span><span class="type-var">'s</span> Ctypes_static.union</span> <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-field"><a href="#val-field" class="anchor"></a><code><span class="keyword">val</span> field : <span><span><span>(<span class="type-var">'s</span>, <span>[&lt; `Struct <span>| `Union</span> ]</span> <span class="keyword">as</span> b)</span> Ctypes_static.structured</span> <a href="index.html#type-typ">typ</a></span> <span>&#45;&gt;</span> string <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-typ">typ</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, <span><span>(<span class="type-var">'s</span>, <span class="type-var">'b</span>)</span> Ctypes_static.structured</span>)</span> <a href="index.html#type-field">field</a></span></code></dt><dt class="spec value" id="val-seal"><a href="#val-seal" class="anchor"></a><code><span class="keyword">val</span> seal : <span><span><span>(<span class="type-var">'a</span>, <span>[&lt; `Struct <span>| `Union</span> ]</span>)</span> Ctypes_static.structured</span> <a href="index.html#type-typ">typ</a></span> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-view"><a href="#val-view" class="anchor"></a><code><span class="keyword">val</span> view : <span>?&#8288;format_typ:<span>(<span>(Stdlib.Format.formatter <span>&#45;&gt;</span> unit)</span> <span>&#45;&gt;</span> Stdlib.Format.formatter <span>&#45;&gt;</span> unit)</span></span> <span>&#45;&gt;</span> <span>?&#8288;format:<span>(Stdlib.Format.formatter <span>&#45;&gt;</span> <span class="type-var">'b</span> <span>&#45;&gt;</span> unit)</span></span> <span>&#45;&gt;</span> <span>read:<span>(<span class="type-var">'a</span> <span>&#45;&gt;</span> <span class="type-var">'b</span>)</span></span> <span>&#45;&gt;</span> <span>write:<span>(<span class="type-var">'b</span> <span>&#45;&gt;</span> <span class="type-var">'a</span>)</span></span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-typ">typ</a></span> <span>&#45;&gt;</span> <span><span class="type-var">'b</span> <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-typedef"><a href="#val-typedef" class="anchor"></a><code><span class="keyword">val</span> typedef : <span><span class="type-var">'a</span> <a href="index.html#type-typ">typ</a></span> <span>&#45;&gt;</span> string <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-abstract"><a href="#val-abstract" class="anchor"></a><code><span class="keyword">val</span> abstract : <span>name:string</span> <span>&#45;&gt;</span> <span>size:int</span> <span>&#45;&gt;</span> <span>alignment:int</span> <span>&#45;&gt;</span> <span><span><span class="type-var">'a</span> Ctypes_static.abstract</span> <a href="index.html#type-typ">typ</a></span></code></dt><dt class="spec value" id="val-lift_typ"><a href="#val-lift_typ" class="anchor"></a><code><span class="keyword">val</span> lift_typ : <span><span class="type-var">'a</span> Ctypes_static.typ</span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-typ">typ</a></span></code></dt></dl><dl><dt class="spec type" id="type-fn"><a href="#type-fn" class="anchor"></a><code><span class="keyword">type</span> <span>'a fn</span></code><code> = <span><span class="type-var">'a</span> Ctypes_static.fn</span></code></dt></dl><dl><dt class="spec value" id="val-(@-&gt;)"><a href="#val-(@-&gt;)" class="anchor"></a><code><span class="keyword">val</span> (@-&gt;) : <span><span class="type-var">'a</span> <a href="index.html#type-typ">typ</a></span> <span>&#45;&gt;</span> <span><span class="type-var">'b</span> <a href="index.html#type-fn">fn</a></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span> <span>&#45;&gt;</span> <span class="type-var">'b</span>)</span> <a href="index.html#type-fn">fn</a></span></code></dt><dt class="spec value" id="val-returning"><a href="#val-returning" class="anchor"></a><code><span class="keyword">val</span> returning : <span><span class="type-var">'a</span> <a href="index.html#type-typ">typ</a></span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-fn">fn</a></span></code></dt></dl><dl><dt class="spec type" id="type-static_funptr"><a href="#type-static_funptr" class="anchor"></a><code><span class="keyword">type</span> <span>'a static_funptr</span></code><code> = <span><span class="type-var">'a</span> Ctypes_static.static_funptr</span></code></dt></dl><dl><dt class="spec value" id="val-static_funptr"><a href="#val-static_funptr" class="anchor"></a><code><span class="keyword">val</span> static_funptr : <span><span class="type-var">'a</span> <a href="index.html#type-fn">fn</a></span> <span>&#45;&gt;</span> <span><span><span class="type-var">'a</span> Ctypes_static.static_funptr</span> <a href="index.html#type-typ">typ</a></span></code></dt></dl><dl><dt class="spec type" id="type-const"><a href="#type-const" class="anchor"></a><code><span class="keyword">type</span> <span>'a const</span></code></dt></dl><dl><dt class="spec value" id="val-constant"><a href="#val-constant" class="anchor"></a><code><span class="keyword">val</span> constant : string <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-typ">typ</a></span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-const">const</a></span></code></dt><dt class="spec value" id="val-enum"><a href="#val-enum" class="anchor"></a><code><span class="keyword">val</span> enum : string <span>&#45;&gt;</span> <span>?&#8288;typedef:bool</span> <span>&#45;&gt;</span> <span>?&#8288;unexpected:<span>(int64 <span>&#45;&gt;</span> <span class="type-var">'a</span>)</span></span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span> * <span>int64 <a href="index.html#type-const">const</a></span>)</span> list</span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-typ">typ</a></span></code></dt></dl></div></body></html>