diff src/oct-stream.h @ 9701:531280b07625

implement fskipl
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 07 Oct 2009 11:08:54 +0200
parents d865363208d6
children cd96d29c5efa
line wrap: on
line diff
--- a/src/oct-stream.h	Wed Oct 07 10:08:37 2009 +0200
+++ b/src/oct-stream.h	Wed Oct 07 11:08:54 2009 +0200
@@ -438,6 +438,7 @@
 
   std::string getl (octave_idx_type max_len, bool& err, const std::string& who /* = "getl" */);
   std::string gets (octave_idx_type max_len, bool& err, const std::string& who /* = "gets" */);
+  long skipl (long count, bool& err, const std::string& who /* = "skipl" */);
 
   octave_value do_scanf (scanf_format_list& fmt_list, octave_idx_type nr, octave_idx_type nc,
 			 bool one_elt_size_spec, octave_idx_type& count,
@@ -501,6 +502,9 @@
   std::string gets (const octave_value& max_len, bool& err,
 		    const std::string& who /* = "gets" */);
 
+  long skipl (long count, bool& err, const std::string& who /* = "skipl" */);
+  long skipl (const octave_value& count, bool& err, const std::string& who /* = "skipl" */);
+
   int seek (long offset, int origin);
   int seek (const octave_value& offset, const octave_value& origin);