Import Upstream version 20180207
[hcoop/debian/mlton.git] / lib / mlton / basic / char-buffer.sig
1 (* Copyright (C) 2009 Matthew Fluet.
2 * Copyright (C) 1999-2006 Henry Cejtin, Matthew Fluet, Suresh
3 * Jagannathan, and Stephen Weeks.
4 *
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
7 *)
8
9 signature CHAR_BUFFER_STRUCTS =
10 sig
11 end
12
13 signature CHAR_BUFFER =
14 sig
15 include CHAR_BUFFER_STRUCTS
16
17 type t
18
19 val new: unit -> t
20 val length: t -> int
21 val reset: t -> unit
22 val toString: t -> string
23 val addChar: t * char -> unit
24 val layout: t -> Layout.t
25 end