diff options
| author | Enrico Tassi | 2020-04-26 19:06:13 +0200 |
|---|---|---|
| committer | Enrico Tassi | 2020-04-26 19:06:13 +0200 |
| commit | 85d77281bb69e9b0ec802f3955cc732c7bb0d5d3 (patch) | |
| tree | 64cdced8de79541b9bbb280cd7d283a0e6a4fc56 /lib/system.mli | |
| parent | 0d34d87e373a2fe5b40d253eeb6f4eecb90ac33d (diff) | |
| parent | 0520fa60a855b4c5f7b9d9298607cfd9e346c0e3 (diff) | |
Merge PR #12092: Implement a name-based representation for vo files.
Reviewed-by: ejgallego
Ack-by: gares
Diffstat (limited to 'lib/system.mli')
| -rw-r--r-- | lib/system.mli | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/system.mli b/lib/system.mli index 00701379bd..4a8c35b6ea 100644 --- a/lib/system.mli +++ b/lib/system.mli @@ -68,8 +68,9 @@ val file_exists_respecting_case : string -> string -> bool when the check fails, with the full file name and expected/observed magic numbers. *) -type magic_number_error = {filename: string; actual: int; expected: int} +type magic_number_error = {filename: string; actual: int32; expected: int32} exception Bad_magic_number of magic_number_error +exception Bad_version_number of magic_number_error val raw_extern_state : int -> string -> out_channel @@ -87,15 +88,6 @@ val with_magic_number_check : ('a -> 'b) -> 'a -> 'b val marshal_out : out_channel -> 'a -> unit val marshal_in : string -> in_channel -> 'a -(** Clones of Digest.output and Digest.input (with nice error message) *) - -val digest_out : out_channel -> Digest.t -> unit -val digest_in : string -> in_channel -> Digest.t - -val marshal_out_segment : string -> out_channel -> 'a -> unit -val marshal_in_segment : string -> in_channel -> 'a * int * Digest.t -val skip_in_segment : string -> in_channel -> int * Digest.t - (** {6 Time stamps.} *) type time |
