519
|
1 // Stack.cc -*- C++ -*- |
487
|
2 /* |
|
3 |
1009
|
4 Copyright (C) 1993, 1994, 1995 John W. Eaton |
487
|
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 |
|
10 Free Software Foundation; either version 2, or (at your option) any |
|
11 later version. |
|
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 |
|
19 along with Octave; see the file COPYING. If not, write to the Free |
1315
|
20 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
487
|
21 |
|
22 */ |
|
23 |
|
24 // Maybe this will work with 2.6.x and beyond? |
|
25 |
|
26 #ifdef HAVE_CONFIG_H |
1192
|
27 #include <config.h> |
487
|
28 #endif |
|
29 |
|
30 #include <iostream.h> |
|
31 |
|
32 #include "Stack.h" |
|
33 |
|
34 template <class T> |
|
35 void |
|
36 Stack<T>::error (const char *msg) |
|
37 { |
|
38 cerr << msg; |
|
39 } |
|
40 |
|
41 /* |
|
42 ;;; Local Variables: *** |
|
43 ;;; mode: C++ *** |
|
44 ;;; page-delimiter: "^/\\*" *** |
|
45 ;;; End: *** |
|
46 */ |