changeset 5906:bdf16e1564e1

[project @ 2006-07-27 03:07:14 by jwe]
author jwe
date Thu, 27 Jul 2006 03:07:15 +0000
parents e5c0831a48bd
children 288c341438f9
files src/ChangeLog src/file-io.cc
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
 2006-07-26  John W. Eaton  <jwe@octave.org>
 
+	* file-io.cc (Ffeof, Fferror): Use DEFUNX instead of DEFUN.
+
 	* mex.cc (xfree): New function.
 	(mex::free): Use it.
 	(mxArray_struct::~mxArray_struct, mxArray_cell::~mxArray_cell):
--- a/src/file-io.cc
+++ b/src/file-io.cc
@@ -1562,7 +1562,7 @@
   return retval;
 }
 
-DEFUN (feof, args, ,
+DEFUNX ("feof", Ffeof, args, ,
   "-*- texinfo -*-\n\
 @deftypefn {Built-in Function} {} feof (@var{fid})\n\
 Return 1 if an end-of-file condition has been encountered for a given\n\
@@ -1589,7 +1589,7 @@
   return retval;
 }
 
-DEFUN (ferror, args, ,
+DEFUNX ("ferror", Fferror, args, ,
   "-*- texinfo -*-\n\
 @deftypefn {Built-in Function} {} ferror (@var{fid})\n\
 Return 1 if an error condition has been encountered for a given file\n\