2974
|
1 /* |
|
2 |
7017
|
3 Copyright (C) 1996, 1997, 1998, 2000, 2002, 2003, 2004, 2005, 2006, |
|
4 2007 John W. Eaton |
2974
|
5 |
|
6 This file is part of Octave. |
|
7 |
|
8 Octave is free software; you can redistribute it and/or modify it |
|
9 under the terms of the GNU General Public License as published by the |
7016
|
10 Free Software Foundation; either version 3 of the License, or (at your |
|
11 option) any later version. |
2974
|
12 |
|
13 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 for more details. |
|
17 |
|
18 You should have received a copy of the GNU General Public License |
7016
|
19 along with Octave; see the file COPYING. If not, see |
|
20 <http://www.gnu.org/licenses/>. |
2974
|
21 |
|
22 */ |
|
23 |
|
24 #ifdef HAVE_CONFIG_H |
|
25 #include <config.h> |
|
26 #endif |
|
27 |
|
28 #include "error.h" |
4055
|
29 #include "oct-obj.h" |
2974
|
30 #include "ov-fcn.h" |
|
31 |
3219
|
32 DEFINE_OCTAVE_ALLOCATOR (octave_function); |
2974
|
33 |
5759
|
34 octave_base_value * |
3933
|
35 octave_function::clone (void) const |
|
36 { |
|
37 panic_impossible (); |
|
38 return 0; |
|
39 } |
|
40 |
5759
|
41 octave_base_value * |
3933
|
42 octave_function::empty_clone (void) const |
2974
|
43 { |
|
44 panic_impossible (); |
3548
|
45 return 0; |
2974
|
46 } |
|
47 |
|
48 /* |
|
49 ;;; Local Variables: *** |
|
50 ;;; mode: C++ *** |
|
51 ;;; End: *** |
|
52 */ |