aboutsummaryrefslogtreecommitdiff
path: root/lib/cString.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cString.mli')
-rw-r--r--lib/cString.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/cString.mli b/lib/cString.mli
index 6ecbe888af..d8a19c8e4c 100644
--- a/lib/cString.mli
+++ b/lib/cString.mli
@@ -52,6 +52,9 @@ sig
external equal : string -> string -> bool = "caml_string_equal" "noalloc"
(** Equality on strings *)
+ val hash : string -> int
+ (** Hashing on strings. Should be compatible with generic one. *)
+
val is_empty : string -> bool
(** Test whether a string is empty. *)