Attempts to fix the deref_* functions.
[perl4caml.git] / perl.mli
index a9f0555..778de58 100644 (file)
--- a/perl.mli
+++ b/perl.mli
@@ -2,7 +2,7 @@
   *
   * Copyright (C) 2003 Merjis Ltd.
   *
-  * $Id: perl.mli,v 1.11 2003-12-11 17:41:52 rich Exp $
+  * $Id: perl.mli,v 1.12 2004-03-03 12:39:20 rich Exp $
   *)
 
 type sv
@@ -88,17 +88,17 @@ val hashref : hv -> sv
 val deref : sv -> sv
 (** The input is a reference to a scalar. This returns the underlying
   * scalar [SV]. If the input is not a reference to a scalar, throws
-  * [Invalid_arg].
+  * [Invalid_argument].
   *)
 val deref_array : sv -> av
 (** The input is a reference to an array. This returns the underlying
   * array [AV]. If the input is not a reference to an array, throws
-  * [Invalid_arg].
+  * [Invalid_argument].
   *)
 val deref_hash : sv -> hv
 (** The input is a reference to a hash. This returns the underlying
   * hash [HV]. If the input is not a reference to a hash, throws
-  * [Invalid_arg].
+  * [Invalid_argument].
   *)
 
 val av_empty : unit -> av