summaryrefslogtreecommitdiff
path: root/stdlib/marshal.ml
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2001-09-02 13:42:19 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2001-09-02 13:42:19 +0000
commitfe2e11a8fb4dcf166ffb7f91e6eb8dd0f4402f25 (patch)
tree8dff8da7bfc88f25c78afe5340d78daa8c89587c /stdlib/marshal.ml
parent7e053c39de8693928b83038c1727f5d90228c39d (diff)
downloadocaml-strict_labels.tar.gz
remove doublonsstrict_labels
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/strict_labels@3687 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/marshal.ml')
-rw-r--r--stdlib/marshal.ml5
1 files changed, 0 insertions, 5 deletions
diff --git a/stdlib/marshal.ml b/stdlib/marshal.ml
index 8f2bef00a3..cf49605d00 100644
--- a/stdlib/marshal.ml
+++ b/stdlib/marshal.ml
@@ -29,11 +29,6 @@ let to_buffer buff ofs len v flags =
then invalid_arg "Marshal.to_buffer: substring out of bounds"
else to_buffer_unsafe buff ofs len v flags
-let to_buffer' ~buf:buff ~pos:ofs ~len v ~mode:flags =
- if ofs < 0 || len < 0 || ofs + len > String.length buff
- then invalid_arg "Marshal.to_buffer: substring out of bounds"
- else to_buffer_unsafe buff ofs len v flags
-
external from_channel: in_channel -> 'a = "input_value"
external from_string_unsafe: string -> int -> 'a = "input_value_from_string"
external data_size_unsafe: string -> int -> int = "marshal_data_size"