summaryrefslogtreecommitdiffstats
path: root/stdlib
diff options
context:
space:
mode:
authorFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>2012-01-26 10:24:35 +0000
committerFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>2012-01-26 10:24:35 +0000
commit1d8acd3f9298a2f6cf396fcd1526e525efec609d (patch)
treea7d07fef1a4fe270bbe7086abb8338e49686fc34 /stdlib
parentca77f037e31ce294a3c51a3f937ef8a15a20aa75 (diff)
Fix PR#5493 by documentating
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/pervasives.mli4
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/pervasives.mli b/stdlib/pervasives.mli
index 9da56a261..b76e3233b 100644
--- a/stdlib/pervasives.mli
+++ b/stdlib/pervasives.mli
@@ -461,7 +461,9 @@ external ignore : 'a -> unit = "%ignore"
(** {6 String conversion functions} *)
val string_of_bool : bool -> string
-(** Return the string representation of a boolean. *)
+(** Return the string representation of a boolean. As the returned values
+ may be shared, the user should not modify them directly.
+*)
val bool_of_string : string -> bool
(** Convert the given string to a boolean.