summaryrefslogtreecommitdiff
path: root/devel/ocaml-annexlib/files/patch-strExtras.mli
blob: 83968c6893f908fcec45114d5fc0e0fb6f5f7feb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- strExtras.mli.orig	2006-02-23 06:34:35 UTC
+++ strExtras.mli
@@ -105,10 +105,10 @@ type trim_style = [ `Both | `Left | `Right ]
 val trim: ?style:trim_style -> string -> char -> string
 
 (** Like [map], but modifies the argument string. *)
-val map_inplace: (char -> char) -> string -> unit
+val map_inplace: (char -> char) -> bytes -> unit
 
 (** Like [map_inplace], but passes the index of the character as well. *)
-val mapi_inplace: (char -> int -> char) -> string -> unit
+val mapi_inplace: (char -> int -> char) -> bytes -> unit
 
 (** Returns a reversed version of the string *)
 val rev: string -> string