Module Ephemeron
: sigend
Ephemeron with arbitrary arity and untyped
typeobj_t = Obj.t
alias for Obj.ttypet
an ephemeron cf Obj.Ephemeronvalcreate : int->tcreaten returns an ephemeron with n keys. All the keys and the data are initially empty. The argument
n must be between zero and Obj.Ephemeron.max_ephe_length (limits included).
vallength : t->int
return the number of keys
valget_key : t->int->obj_toptionvalget_key_copy : t->int->obj_toptionvalset_key : t->int->obj_t->unitvalunset_key : t->int->unitvalcheck_key : t->int->boolvalblit_key : t->int->t->int->int->unitvalget_data : t->obj_toptionvalget_data_copy : t->obj_toptionvalset_data : t->obj_t->unitvalunset_data : t->unitvalcheck_data : t->boolvalblit_data : t->t->unitvalmax_ephe_length : int
Maximum length of an ephemeron, ie the maximum number of keys an ephemeron could contain
OCamldoc 2025-06-12 Obj.Ephemeron(3o)