aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Printlines.mli
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2016-03-21 10:18:51 +0100
committerXavier Leroy <xavierleroy@users.noreply.github.com>2016-03-21 10:18:51 +0100
commit20eef936dce1ef98b5b422c90cc9e072fb0d75ab (patch)
tree2690be164dc36fad63fc0f42e943d0fcb0735532 /lib/Printlines.mli
parentfdf4cac2439a7168bd005efbde4a1f76a00ada66 (diff)
parent01e32a075023ce7b037d42d048b1904ba3d9a82b (diff)
downloadcompcert-kvx-20eef936dce1ef98b5b422c90cc9e072fb0d75ab.tar.gz
compcert-kvx-20eef936dce1ef98b5b422c90cc9e072fb0d75ab.zip
Merge pull request #92 from AbsInt/cleanup
This PR activates more OCaml warnings and turns all warnings into errors. Also some unused functions, variables and types are removed.
Diffstat (limited to 'lib/Printlines.mli')
-rw-r--r--lib/Printlines.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Printlines.mli b/lib/Printlines.mli
index 79201f86..545eb033 100644
--- a/lib/Printlines.mli
+++ b/lib/Printlines.mli
@@ -20,8 +20,10 @@ type filebuf
val openfile: string -> filebuf
(** Open the file with the given name. *)
+
val close: filebuf -> unit
(** Close the file underlying the given buffer. *)
+
val copy: out_channel -> string -> filebuf -> int -> int -> unit
(** [copy oc pref buf first last] copies lines number [first]
to [last], included, to the channel [oc]. Each line is