1Obj.Ephemeron(3)                 OCaml library                Obj.Ephemeron(3)
2
3
4

NAME

6       Obj.Ephemeron - no description
7

Module

9       Module   Obj.Ephemeron
10

Documentation

12       Module Ephemeron
13        : sig end
14
15
16
17
18
19
20
21
22
23       === Ephemeron with arbitrary arity and untyped ===
24
25
26       type obj_t = Obj.t
27
28
29       alias for Obj.t
30
31
32
33       type t
34
35
36       an ephemeron cf Ephemeron
37
38
39
40
41       val create : int -> t
42
43
44       create  n  returns an ephemeron with n keys.  All the keys and the data
45       are initially empty
46
47
48
49       val length : t -> int
50
51       return the number of keys
52
53
54
55       val get_key : t -> int -> obj_t option
56
57       Same as Ephemeron.K1.get_key
58
59
60
61
62       val get_key_copy : t -> int -> obj_t option
63
64       Same as Ephemeron.K1.get_key_copy
65
66
67
68
69       val set_key : t -> int -> obj_t -> unit
70
71       Same as Ephemeron.K1.set_key
72
73
74
75
76       val unset_key : t -> int -> unit
77
78       Same as Ephemeron.K1.unset_key
79
80
81
82
83       val check_key : t -> int -> bool
84
85       Same as Ephemeron.K1.check_key
86
87
88
89
90       val blit_key : t -> int -> t -> int -> int -> unit
91
92       Same as Ephemeron.K1.blit_key
93
94
95
96
97       val get_data : t -> obj_t option
98
99       Same as Ephemeron.K1.get_data
100
101
102
103
104       val get_data_copy : t -> obj_t option
105
106       Same as Ephemeron.K1.get_data_copy
107
108
109
110
111       val set_data : t -> obj_t -> unit
112
113       Same as Ephemeron.K1.set_data
114
115
116
117
118       val unset_data : t -> unit
119
120       Same as Ephemeron.K1.unset_data
121
122
123
124
125       val check_data : t -> bool
126
127       Same as Ephemeron.K1.check_data
128
129
130
131
132       val blit_data : t -> t -> unit
133
134       Same as Ephemeron.K1.blit_data
135
136
137
138
139
140
141OCamldoc                          2019-02-02                  Obj.Ephemeron(3)
Impressum