Initial snarf.
[shack.git] / libmojave / stdlib / lm_rformat_raw.mli
blobfad7a2e4669c28bb5404308392d0d2549ff9556c
1 (*
2 * Low-level output for the formatter.
4 * ----------------------------------------------------------------
6 * @begin[license]
7 * Copyright (C) 2004 Mojave Group, Caltech
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation,
12 * version 2.1 of the License.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 * Additional permission is given to link this library with the
24 * OpenSSL project's "OpenSSL" library, and with the OCaml runtime,
25 * and you may distribute the linked executables. See the file
26 * LICENSE.libmojave for more details.
28 * Author: Jason Hickey
29 * @email{jyh@cs.caltech.edu}
30 * @end[license]
34 * Raw printer just has two methods.
36 type raw_printer =
37 { raw_print_string : string -> int -> int -> unit;
38 raw_print_flush : unit -> unit;
39 raw_print_newline : unit -> unit;
40 raw_print_spaces : int -> unit
43 val raw_channel_printer : out_channel -> raw_printer
44 val raw_buffer_printer : Buffer.t -> raw_printer
46 (*!
47 * @docoff
49 * -*-
50 * Local Variables:
51 * Caml-master: "compile"
52 * End:
53 * -*-