Mercurial > octave-nkf
view examples/helloworld.cc @ 15879:f69530e3600d
make docstrings for __java_init__ and __java_exit__ available unconditionally
* ov-java.cc (F__java_init__, F__java_exit__): Move function
definitions outside of HAVE_JAVA conditional.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 02 Jan 2013 19:18:15 -0500 |
parents | db1f49eaba6b |
children | be41c30bcb44 |
line wrap: on
line source
#include <octave/oct.h> DEFUN_DLD (helloworld, args, nargout, "Hello World Help String") { int nargin = args.length (); octave_stdout << "Hello World has " << nargin << " input arguments and " << nargout << " output arguments.\n"; return octave_value_list (); }