summaryrefslogtreecommitdiffstats
path: root/stdlib
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2008-09-17 14:55:30 +0000
committerDamien Doligez <damien.doligez-inria.fr>2008-09-17 14:55:30 +0000
commit61d26f938a4d80eb7c95ce40e9befd5d387e396b (patch)
treed1913b06bd5bacc22f07aef64b5dab2697efcb72 /stdlib
parent6b3a3d371fe12f557d1d386519dc845f134950bd (diff)
no integer in weak arrays (preparing an optimization)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9028 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/weak.mli8
1 files changed, 5 insertions, 3 deletions
diff --git a/stdlib/weak.mli b/stdlib/weak.mli
index a0b794e66..70fcfa3f5 100644
--- a/stdlib/weak.mli
+++ b/stdlib/weak.mli
@@ -24,9 +24,11 @@ type 'a t
any time.
A weak pointer is said to be full if it points to a value,
empty if the value was erased by the GC.
- Note that weak arrays cannot be marshaled using
- {!Pervasives.output_value} or the functions of the {!Marshal}
- module.
+
+ Notes:
+ - Integers are not allocated and cannot be stored in weak arrays.
+ - Weak arrays cannot be marshaled using {!Pervasives.output_value}
+ nor the functions of the {!Marshal} module.
*)