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       type obj_t = Obj.t
26
27
28       alias for Obj.t
29
30
31
32       type t
33
34
35       an ephemeron cf Obj.Ephemeron
36
37
38
39
40       val create : int -> t
41
42
43       create  n  returns an ephemeron with n keys.  All the keys and the data
44       are  initially  empty.   The  argument  n  must  be  between  zero  and
45       Obj.Ephemeron.max_ephe_length (limits included).
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       val max_ephe_length : int
140
141       Maximum  length  of  an  ephemeron,  ie  the  maximum number of keys an
142       ephemeron could contain
143
144
145
146
147
148OCamldoc                          2022-07-22                  Obj.Ephemeron(3)
Impressum