1
|
1 /* |
|
2 |
1884
|
3 Copyright (C) 1996 John W. Eaton |
1
|
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 |
|
9 Free Software Foundation; either version 2, or (at your option) any |
|
10 later version. |
|
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 |
|
18 along with Octave; see the file COPYING. If not, write to the Free |
1315
|
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
1
|
20 |
|
21 */ |
|
22 |
383
|
23 #if !defined (octave_gripes_h) |
|
24 #define octave_gripes_h 1 |
1
|
25 |
620
|
26 class tree_constant; |
|
27 |
2078
|
28 extern void gripe_not_supported (void); |
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); |
1416
|
38 extern void gripe_invalid_value_specified (const char *name); |
777
|
39 extern void gripe_2_or_3_dim_plot (void); |
|
40 extern void gripe_unrecognized_float_fmt (void); |
|
41 extern void gripe_unrecognized_data_fmt (const char *warn_for); |
|
42 extern void gripe_data_conversion (const char *from, const char *to); |
|
43 extern void gripe_wrong_type_arg (const char *name, const tree_constant& tc); |
|
44 extern void gripe_wrong_type_arg_for_unary_op (const tree_constant& op); |
|
45 extern void gripe_wrong_type_arg_for_binary_op (const tree_constant& op); |
1
|
46 |
|
47 #endif |
|
48 |
|
49 /* |
|
50 ;;; Local Variables: *** |
|
51 ;;; mode: C++ *** |
|
52 ;;; End: *** |
|
53 */ |