diff options
author | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2001-09-06 08:52:32 +0000 |
---|---|---|
committer | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2001-09-06 08:52:32 +0000 |
commit | ea299bbbc1dcf8f0f8f3b18558145965391ad224 (patch) | |
tree | 66a42a385bf5243f570afb2c48bf7239ce08f67a /stdlib/buffer.mli | |
parent | bc8ff705be9af2f5883b640b1c9e285f380d5f70 (diff) |
passage aux labels stricts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/buffer.mli')
-rw-r--r-- | stdlib/buffer.mli | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/buffer.mli b/stdlib/buffer.mli index adb7e3038..5b8499502 100644 --- a/stdlib/buffer.mli +++ b/stdlib/buffer.mli @@ -52,13 +52,13 @@ val add_char : t -> char -> unit val add_string : t -> string -> unit (* [add_string b s] appends the string [s] at the end of the buffer [b]. *) -val add_substring : t -> string -> pos:int -> len:int -> unit +val add_substring : t -> string -> int -> int -> unit (* [add_substring b s ofs len] takes [len] characters from offset [ofs] in string [s] and appends them at the end of the buffer [b]. *) -val add_buffer : t -> src:t -> unit +val add_buffer : t -> t -> unit (* [add_buffer b1 b2] appends the current contents of buffer [b2] at the end of buffer [b1]. [b2] is not modified. *) -val add_channel : t -> in_channel -> len:int -> unit +val add_channel : t -> in_channel -> int -> unit (* [add_channel b ic n] reads exactly [n] character from the input channel [ic] and stores them at the end of buffer [b]. Raise [End_of_file] if the channel contains fewer than [n] |