view examples/helloworld.cc @ 15339:b49d707fe9d7

pt-jit.cc (jit_function_info::jit_function_info): Verify llvm IR when debugging
author Max Brister <max@2bass.com>
date Mon, 10 Sep 2012 00:49:59 -0600
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 ();
}