diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-10-02 16:01:46 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-10-02 16:01:46 +0200 |
commit | 16c88c9be5c37ee2e4fe04f7342365964031e7dd (patch) | |
tree | 7b5c07362dad323acae516718b9cebe94bd639af /lib/system.mli | |
parent | a3d7630d74b720b771e880dcf0fcad05de553a6e (diff) | |
parent | 88abc50ece70405d71777d5350ca2fa70c1ff437 (diff) |
Merge branch 'v8.5'
Diffstat (limited to 'lib/system.mli')
-rw-r--r-- | lib/system.mli | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/system.mli b/lib/system.mli index 6ed450326..2e773fe96 100644 --- a/lib/system.mli +++ b/lib/system.mli @@ -66,11 +66,13 @@ val find_file_in_path : exception Bad_magic_number of string -val raw_extern_intern : int -> - (string -> string * out_channel) * (string -> in_channel) +val raw_extern_state : int -> string -> out_channel -val extern_intern : ?warn:bool -> int -> - (string -> 'a -> unit) * (CUnix.load_path -> string -> 'a) +val raw_intern_state : int -> string -> in_channel + +val extern_state : int -> string -> 'a -> unit + +val intern_state : int -> string -> 'a val with_magic_number_check : ('a -> 'b) -> 'a -> 'b |