Mercurial > octave-nkf
view examples/helloworld.cc @ 10569:4f2e46473153
Fix the order of calling setdata and setvertexdata for patches (bug #29549)
author | David Bateman <dbateman@free.fr> |
---|---|
date | Sun, 25 Apr 2010 20:04:02 +0200 |
parents | 4295d634797d |
children | db1f49eaba6b |
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 (); }