diff options
| author | ppedrot | 2013-10-24 17:28:00 +0000 |
|---|---|---|
| committer | ppedrot | 2013-10-24 17:28:00 +0000 |
| commit | 9e37e3b9695a214040c52082b1e7288df9362b33 (patch) | |
| tree | bc2bc853f3a01999ac4b07b847e43e747e6f104d /lib/cString.mli | |
| parent | 748d4e285c9352b5678e07963a295341cc6acc5b (diff) | |
Specializing hash functions for widely used types.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16933 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib/cString.mli')
| -rw-r--r-- | lib/cString.mli | 3 |
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. *) |
