mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
remove dead comment
This commit is contained in:
parent
94c89541f5
commit
3b10a14c93
1 changed files with 0 additions and 12 deletions
|
|
@ -92,18 +92,6 @@ let clear_and_reset v =
|
|||
v.size <- 0;
|
||||
v.vec <- [||]
|
||||
|
||||
(* TODO*)
|
||||
(*
|
||||
let v = create() in
|
||||
let a = Weak.create 1 in
|
||||
push v ("hello"^"world");
|
||||
Weak.set a 0 (Some (get v 0));
|
||||
Gc.full_major(); Gc.compact();
|
||||
assert_bool "is alive" (Weak.check a 0);
|
||||
Gc.full_major(); Gc.compact();
|
||||
assert_equal None (Weak.get a 0);
|
||||
*)
|
||||
|
||||
let[@inline] is_empty v = v.size = 0
|
||||
|
||||
let[@inline] push_unsafe_ v x =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue