Mercurial > octave-nkf
changeset 9053:4295d634797d
remove copyright notices from example files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 28 Mar 2009 11:26:27 -0400 |
parents | 089bd295e4f7 |
children | 0735e427c6c0 |
files | examples/COPYING examples/addtwomatrices.cc examples/celldemo.cc examples/embedded.cc examples/firstmexdemo.c examples/fortdemo.cc examples/fortsub.f examples/funcdemo.cc examples/globaldemo.cc examples/hello.cc examples/helloworld.cc examples/make_int.cc examples/mycell.c examples/myfeval.c examples/myfevalf.f examples/myfunc.c examples/myhello.c examples/mypow2.c examples/myprop.c examples/myset.c examples/mysparse.c examples/mystring.c examples/mystruct.c examples/oregonator.cc examples/oregonator.m examples/paramdemo.cc examples/standalone.cc examples/stringdemo.cc examples/structdemo.cc examples/unwinddemo.cc |
diffstat | 30 files changed, 6 insertions(+), 602 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/COPYING Sat Mar 28 11:26:27 2009 -0400 @@ -0,0 +1,3 @@ +Copyright notices are intentionlly omitted from the files in the +examples directory. We don't want copyright notices cluttering the +manual.
--- a/examples/addtwomatrices.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/addtwomatrices.cc Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include <octave/oct.h> DEFUN_DLD (addtwomatrices, args, , "Add A to B")
--- a/examples/celldemo.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/celldemo.cc Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include <octave/oct.h> #include <octave/Cell.h> @@ -38,5 +15,6 @@ for (octave_idx_type i = 0; i < c.nelem (); i++) retval(i) = c.elem (i); } + return retval; }
--- a/examples/embedded.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/embedded.cc Sat Mar 28 11:26:27 2009 -0400 @@ -2,6 +2,7 @@ #include <octave/oct.h> #include <octave/octave.h> #include <octave/parse.h> + int main (void) {
--- a/examples/firstmexdemo.c Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/firstmexdemo.c Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include "mex.h" void
--- a/examples/fortdemo.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/fortdemo.cc Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007, 2008 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include <octave/oct.h> #include <octave/f77-fcn.h>
--- a/examples/fortsub.f Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/fortsub.f Sat Mar 28 11:26:27 2009 -0400 @@ -1,23 +1,3 @@ -c Copyright (C) 2007 John W. Eaton -c -c This file is part of Octave. -c -c Octave is free software; you can redistribute it and/or -c modify it under the terms of the GNU General Public -c License as published by the Free Software Foundation; -c either version 3 of the License, or (at your option) any -c later version. -c -c Octave is distributed in the hope that it will be useful, -c but WITHOUT ANY WARRANTY; without even the implied -c warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -c PURPOSE. See the GNU General Public License for more -c details. -c -c You should have received a copy of the GNU General Public -c License along with Octave; see the file COPYING. If not, -c see <http://www.gnu.org/licenses/>. - subroutine fortsub (n, a, s) implicit none character*(*) s
--- a/examples/funcdemo.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/funcdemo.cc Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include <octave/oct.h> #include <octave/parse.h>
--- a/examples/globaldemo.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/globaldemo.cc Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include <octave/oct.h> DEFUN_DLD (globaldemo, args, , "Global demo.")
--- a/examples/hello.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/hello.cc Sat Mar 28 11:26:27 2009 -0400 @@ -1,25 +1,3 @@ -/* - -Copyright (C) 1996, 1997, 1999, 2002, 2003, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by the -Free Software Foundation; either version 3 of the License, or (at your -option) any later version. - -Octave is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License -along with Octave; see the file COPYING. If not, see -<http://www.gnu.org/licenses/>. - -*/ - // hello.cc -- example of a dynamically linked function for Octave. // To use this file, your version of Octave must support dynamic
--- a/examples/helloworld.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/helloworld.cc Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include <octave/oct.h> DEFUN_DLD (helloworld, args, nargout,
--- a/examples/make_int.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/make_int.cc Sat Mar 28 11:26:27 2009 -0400 @@ -1,25 +1,3 @@ -/* - -Copyright (C) 1996, 1997, 1999, 2000, 2003, 2005, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by the -Free Software Foundation; either version 3 of the License, or (at your -option) any later version. - -Octave is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License -along with Octave; see the file COPYING. If not, see -<http://www.gnu.org/licenses/>. - -*/ - #include <octave/config.h> #include <cstdlib>
--- a/examples/mycell.c Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/mycell.c Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include "mex.h" void
--- a/examples/myfeval.c Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/myfeval.c Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include "mex.h" void
--- a/examples/myfevalf.f Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/myfevalf.f Sat Mar 28 11:26:27 2009 -0400 @@ -1,21 +1,3 @@ -c Copyright (C) 2006, 2007 John W. Eaton -c -c This file is part of Octave. -c -c Octave is free software; you can redistribute it and/or modify it -c under the terms of the GNU General Public License as published by the -c Free Software Foundation; either version 3 of the License, or (at your -c option) any later version. -c -c Octave is distributed in the hope that it will be useful, but WITHOUT -c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -c FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -c for more details. -c -c You should have received a copy of the GNU General Public License -c along with Octave; see the file COPYING. If not, see -c <http://www.gnu.org/licenses/>. - subroutine mexFunction (nlhs, plhs, nrhs, prhs) implicit none
--- a/examples/myfunc.c Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/myfunc.c Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include "mex.h" void
--- a/examples/myhello.c Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/myhello.c Sat Mar 28 11:26:27 2009 -0400 @@ -1,25 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by the -Free Software Foundation; either version 3 of the License, or (at your -option) any later version. - -Octave is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License -along with Octave; see the file COPYING. If not, see -<http://www.gnu.org/licenses/>. - -*/ - #include "mex.h" void
--- a/examples/mypow2.c Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/mypow2.c Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include "mex.h" void
--- a/examples/myprop.c Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/myprop.c Sat Mar 28 11:26:27 2009 -0400 @@ -1,25 +1,3 @@ -/* - -Copyright (C) 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by the -Free Software Foundation; either version 3 of the License, or (at your -option) any later version. - -Octave is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License -along with Octave; see the file COPYING. If not, see -<http://www.gnu.org/licenses/>. - -*/ - #include "mex.h" void
--- a/examples/myset.c Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/myset.c Sat Mar 28 11:26:27 2009 -0400 @@ -1,25 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by the -Free Software Foundation; either version 3 of the License, or (at your -option) any later version. - -Octave is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License -along with Octave; see the file COPYING. If not, see -<http://www.gnu.org/licenses/>. - -*/ - #include "mex.h" void
--- a/examples/mysparse.c Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/mysparse.c Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 David Bateman - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include "mex.h" void
--- a/examples/mystring.c Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/mystring.c Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include <string.h> #include "mex.h"
--- a/examples/mystruct.c Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/mystruct.c Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include "mex.h" void
--- a/examples/oregonator.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/oregonator.cc Sat Mar 28 11:26:27 2009 -0400 @@ -1,25 +1,3 @@ -/* - -Copyright (C) 1997, 1998, 2000, 2002, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by the -Free Software Foundation; either version 3 of the License, or (at your -option) any later version. - -Octave is distributed in the hope that it will be useful, but WITHOUT -ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License -along with Octave; see the file COPYING. If not, see -<http://www.gnu.org/licenses/>. - -*/ - #include <octave/oct.h> DEFUN_DLD (oregonator, args, ,
--- a/examples/oregonator.m Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/oregonator.m Sat Mar 28 11:26:27 2009 -0400 @@ -1,21 +1,3 @@ -## Copyright (C) 1997, 1998, 2007 John W. Eaton -## -## This file is part of Octave. -## -## Octave is free software; you can redistribute it and/or modify it -## under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 3 of the License, or (at -## your option) any later version. -## -## Octave is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with Octave; see the file COPYING. If not, see -## <http://www.gnu.org/licenses/>. - ## The `oregonator'. ## ## Reference:
--- a/examples/paramdemo.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/paramdemo.cc Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include <octave/oct.h> DEFUN_DLD (paramdemo, args, nargout,
--- a/examples/standalone.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/standalone.cc Sat Mar 28 11:26:27 2009 -0400 @@ -1,5 +1,6 @@ #include <iostream> #include <octave/oct.h> + int main (void) {
--- a/examples/stringdemo.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/stringdemo.cc Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include <octave/oct.h> DEFUN_DLD (stringdemo, args, , "String Demo")
--- a/examples/structdemo.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/structdemo.cc Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include <octave/oct.h> #include <octave/ov-struct.h>
--- a/examples/unwinddemo.cc Fri Mar 27 22:35:14 2009 -0700 +++ b/examples/unwinddemo.cc Sat Mar 28 11:26:27 2009 -0400 @@ -1,26 +1,3 @@ -/* - -Copyright (C) 2006, 2007 John W. Eaton - -This file is part of Octave. - -Octave is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later -version. - -Octave is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty -of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public -License along with Octave; see the file COPYING. If not, -see <http://www.gnu.org/licenses/>. - -*/ - #include <octave/oct.h> #include <octave/unwind-prot.h>