1Stdlib.Callback(3)               OCaml library              Stdlib.Callback(3)
2
3
4

NAME

6       Stdlib.Callback - no description
7

Module

9       Module   Stdlib.Callback
10

Documentation

12       Module Callback
13        : (module Stdlib__callback)
14
15
16
17
18
19
20
21
22       val register : string -> 'a -> unit
23
24
25       Callback.register  n  v registers the value v under the name n . C code
26       can later retrieve a handle to v by calling caml_named_value(n) .
27
28
29
30       val register_exception : string -> exn -> unit
31
32
33       Callback.register_exception n exn registers the exception contained  in
34       the  exception value exn under the name n . C code can later retrieve a
35       handle to the exception by calling caml_named_value(n) . The  exception
36       value  thus  obtained  is  suitable  for  passing  as first argument to
37       raise_constant or raise_with_arg .
38
39
40
41
42
43OCamldoc                          2019-07-30                Stdlib.Callback(3)
Impressum