1
|
1 // gripes.h -*- C++ -*- |
|
2 /* |
|
3 |
1009
|
4 Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton |
1
|
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 |
|
20 Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
|
21 |
|
22 */ |
|
23 |
383
|
24 #if !defined (octave_gripes_h) |
|
25 #define octave_gripes_h 1 |
1
|
26 |
620
|
27 class tree_constant; |
|
28 |
1
|
29 extern void gripe_string_invalid (void); |
|
30 extern void gripe_range_invalid (void); |
|
31 extern void gripe_nonconformant (void); |
143
|
32 extern void gripe_nonconformant (int r1, int c1, int r2, int c2); |
1
|
33 extern void gripe_empty_arg (const char *name, int is_error); |
|
34 extern void gripe_square_matrix_required (const char *name); |
|
35 extern void gripe_user_supplied_eval (const char *name); |
|
36 extern void gripe_user_returned_invalid (const char *name); |
628
|
37 extern void gripe_invalid_conversion (const char *from, const char *to); |
777
|
38 extern void gripe_2_or_3_dim_plot (void); |
|
39 extern void gripe_unrecognized_float_fmt (void); |
|
40 extern void gripe_unrecognized_data_fmt (const char *warn_for); |
|
41 extern void gripe_data_conversion (const char *from, const char *to); |
|
42 extern void gripe_wrong_type_arg (const char *name, const tree_constant& tc); |
|
43 extern void gripe_wrong_type_arg_for_unary_op (const tree_constant& op); |
|
44 extern void gripe_wrong_type_arg_for_binary_op (const tree_constant& op); |
1
|
45 |
|
46 #endif |
|
47 |
|
48 /* |
|
49 ;;; Local Variables: *** |
|
50 ;;; mode: C++ *** |
|
51 ;;; page-delimiter: "^/\\*" *** |
|
52 ;;; End: *** |
|
53 */ |