Mercurial > hg > octave-lyh
diff examples/hello.cc @ 2152:e9ee6418f62d
[project @ 1996-05-13 08:03:26 by jwe]
author | jwe |
---|---|
date | Mon, 13 May 1996 08:03:26 +0000 (1996-05-13) |
parents | 3dc97364d58e |
children | dc829883f13a |
line wrap: on
line diff
--- a/examples/hello.cc +++ b/examples/hello.cc @@ -61,8 +61,12 @@ #include <octave/symtab.h> #include <octave/variables.h> -// Note, nargout is not used, so it is omitted from the argument list -// to avoid the warning from gcc about an unused function parameter. +// DEFUN_DLD and the macros that it depends on are defined in the +// files defun-dld.h, defun.h, and defun-int.h. + +// Note that the third parameter (nargout) is not used, so it is +// omitted from the list of arguments to DEFUN_DLD in order to avoid +// the warning from gcc about an unused function parameter. DEFUN_DLD (hello, args, , "[...] = hello (...)\n\