diff src/dirfns.cc @ 11531:f976dd63129c

fnmatch: use DEFUNX until gnulib's fnmatch is C++ friendly
author John W. Eaton <jwe@octave.org>
date Fri, 14 Jan 2011 15:54:30 -0500
parents fd0a3ac60b0e
children e1851653d59c
line wrap: on
line diff
--- a/src/dirfns.cc	Fri Jan 14 12:37:23 2011 -0800
+++ b/src/dirfns.cc	Fri Jan 14 15:54:30 2011 -0500
@@ -641,7 +641,7 @@
 %!  assert (result3, {"file1"; "file2"});
 */
 
-DEFUN (fnmatch, args, ,
+DEFUNX ("fnmatch", Ffnmatch, args, ,
   "-*- texinfo -*-\n\
 @deftypefn {Built-in Function} {} fnmatch (@var{pattern}, @var{string})\n\
 Return 1 or zero for each element of @var{string} that matches any of\n\