Mercurial > hg > octave-nkf
annotate libinterp/octave-value/ov-fcn.cc @ 19840:c5270263d466 gui-release
close gui-release branch
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 30 Jan 2015 17:41:50 -0500 |
parents | d63878346099 |
children | 76478d2da117 |
rev | line source |
---|---|
2974 | 1 /* |
2 | |
17744
d63878346099
maint: Update copyright notices for release.
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
3 Copyright (C) 1996-2013 John W. Eaton |
2974 | 4 |
5 This file is part of Octave. | |
6 | |
7 Octave is free software; you can redistribute it and/or modify it | |
8 under the terms of the GNU General Public License as published by the | |
7016 | 9 Free Software Foundation; either version 3 of the License, or (at your |
10 option) any later version. | |
2974 | 11 |
12 Octave is distributed in the hope that it will be useful, but WITHOUT | |
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
7016 | 18 along with Octave; see the file COPYING. If not, see |
19 <http://www.gnu.org/licenses/>. | |
2974 | 20 |
21 */ | |
22 | |
23 #ifdef HAVE_CONFIG_H | |
24 #include <config.h> | |
25 #endif | |
26 | |
27 #include "error.h" | |
4055 | 28 #include "oct-obj.h" |
2974 | 29 #include "ov-fcn.h" |
30 | |
3219 | 31 DEFINE_OCTAVE_ALLOCATOR (octave_function); |
2974 | 32 |
5759 | 33 octave_base_value * |
3933 | 34 octave_function::clone (void) const |
35 { | |
36 panic_impossible (); | |
37 return 0; | |
38 } | |
39 | |
5759 | 40 octave_base_value * |
3933 | 41 octave_function::empty_clone (void) const |
2974 | 42 { |
43 panic_impossible (); | |
3548 | 44 return 0; |
2974 | 45 } |