diff options
| author | Hongbo Zhang <hzhang295@bloomberg.net> | 2016-08-19 10:02:45 -0400 |
|---|---|---|
| committer | David Allsopp <david.allsopp@metastack.com> | 2016-12-14 13:20:12 +0000 |
| commit | 026248378b7127198bccdbb799d6cfdc14978d28 (patch) | |
| tree | 479656c6bf3dacc5bd2c4b3f77dde7fb354992fa /stdlib/stringLabels.mli | |
| parent | dba0e49351b773e755998219aa1b261eb2b6d1d2 (diff) | |
| download | ocaml-026248378b7127198bccdbb799d6cfdc14978d28.tar.gz | |
change primitive names back to %string_safe_set
Diffstat (limited to 'stdlib/stringLabels.mli')
| -rw-r--r-- | stdlib/stringLabels.mli | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/stringLabels.mli b/stdlib/stringLabels.mli index 9844901152..d5ba153ffb 100644 --- a/stdlib/stringLabels.mli +++ b/stdlib/stringLabels.mli @@ -24,7 +24,7 @@ external get : string -> int -> char = "%string_safe_get" Raise [Invalid_argument] if [n] not a valid index in [s]. *) -external set : bytes -> int -> char -> unit = "%bytes_safe_set" +external set : bytes -> int -> char -> unit = "%string_safe_set" [@@ocaml.deprecated "Use BytesLabels.set instead."] (** [String.set s n c] modifies byte sequence [s] in place, replacing the byte at index [n] with [c]. |
