diff options
Diffstat (limited to 'stdlib/weak.mli')
-rw-r--r-- | stdlib/weak.mli | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/stdlib/weak.mli b/stdlib/weak.mli index a0b794e664..70fcfa3f54 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. *) |