mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
deprecate CCVector.fill_empty_slots_with
This commit is contained in:
parent
0b759c67b8
commit
af4662e962
1 changed files with 2 additions and 1 deletions
|
|
@ -298,8 +298,9 @@ val fill_empty_slots_with : ('a, _) t -> 'a -> unit
|
||||||
(** [fill_empty_slots_with v x] puts [x] in the slots of [v]'s underlying
|
(** [fill_empty_slots_with v x] puts [x] in the slots of [v]'s underlying
|
||||||
array that are not used (ie in the last [capacity v - length v] slots).
|
array that are not used (ie in the last [capacity v - length v] slots).
|
||||||
This is useful if you removed some elements from the vector and
|
This is useful if you removed some elements from the vector and
|
||||||
want to be sure they can be GC'd by erasing them from the vector.
|
@deprecated after 2.8, as the vector doesn't keep values alive anymore (see #279, #282, #283)
|
||||||
@since 2.4 *)
|
@since 2.4 *)
|
||||||
|
[@@ocaml.deprecated "not needed anymore, see #279,#282,#283"]
|
||||||
|
|
||||||
val of_klist : ?init:('a, rw) t -> 'a klist -> ('a, rw) t
|
val of_klist : ?init:('a, rw) t -> 'a klist -> ('a, rw) t
|
||||||
val to_klist : ('a,_) t -> 'a klist
|
val to_klist : ('a,_) t -> 'a klist
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue