diff src/ov.cc @ 4970:25c2664861bc

[project @ 2004-09-08 05:02:32 by jwe]
author jwe
date Wed, 08 Sep 2004 05:02:32 +0000
parents 91b61d27b9b4
children 48d0defe9445
line wrap: on
line diff
--- a/src/ov.cc	Wed Sep 08 02:44:04 2004 +0000
+++ b/src/ov.cc	Wed Sep 08 05:02:32 2004 +0000
@@ -29,8 +29,9 @@
 #endif
 
 #include "Array-flags.h"
+#include "data-conv.h"
+#include "quit.h"
 #include "str-vec.h"
-#include "quit.h"
 
 #include "oct-obj.h"
 #include "oct-stream.h"
@@ -2158,6 +2159,25 @@
   octave_streamoff::register_type ();
 }
 
+#if 0
+DEFUN (cast, args, ,
+  "-*- texinfo -*-\n\
+@deftypefn {Built-in Function} {} cast (@var{val}, @var{type})\n\
+Convert @var{val} to the new data type @var{type}.\n\
+@end deftypefn\n\
+@seealso{class, typeinfo}")
+{
+  octave_value retval;
+
+  if (args.length () == 2)
+    error ("cast: not implemented");
+  else
+    print_usage ("cast");
+
+  return retval;
+}
+#endif
+
 DEFUN (sizeof, args, ,
   "-*- texinfo -*-\n\
 @deftypefn {Built-in Function} {} sizeof (@var{val})\n\