Mercurial > hg > octave-lyh
comparison src/gripes.h @ 6109:c68896f193e3
[project @ 2006-10-27 02:16:18 by jwe]
author | jwe |
---|---|
date | Fri, 27 Oct 2006 02:16:19 +0000 |
parents | c038c2947ee1 |
children | b2b7526a5772 |
comparison
equal
deleted
inserted
replaced
6108:143b556ce725 | 6109:c68896f193e3 |
---|---|
28 | 28 |
29 #include "oct-types.h" | 29 #include "oct-types.h" |
30 | 30 |
31 class octave_value; | 31 class octave_value; |
32 | 32 |
33 extern void | 33 extern OCTINTERP_API void |
34 gripe_not_supported (const char *); | 34 gripe_not_supported (const char *); |
35 | 35 |
36 extern void | 36 extern OCTINTERP_API void |
37 gripe_string_invalid (void); | 37 gripe_string_invalid (void); |
38 | 38 |
39 extern void | 39 extern OCTINTERP_API void |
40 gripe_range_invalid (void); | 40 gripe_range_invalid (void); |
41 | 41 |
42 extern void | 42 extern OCTINTERP_API void |
43 gripe_nonconformant (void); | 43 gripe_nonconformant (void); |
44 | 44 |
45 extern void | 45 extern OCTINTERP_API void |
46 gripe_nonconformant (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2); | 46 gripe_nonconformant (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2); |
47 | 47 |
48 extern void | 48 extern OCTINTERP_API void |
49 gripe_empty_arg (const char *name, bool is_error); | 49 gripe_empty_arg (const char *name, bool is_error); |
50 | 50 |
51 extern void | 51 extern OCTINTERP_API void |
52 gripe_square_matrix_required (const char *name); | 52 gripe_square_matrix_required (const char *name); |
53 | 53 |
54 extern void | 54 extern OCTINTERP_API void |
55 gripe_user_supplied_eval (const char *name); | 55 gripe_user_supplied_eval (const char *name); |
56 | 56 |
57 extern void | 57 extern OCTINTERP_API void |
58 gripe_user_returned_invalid (const char *name); | 58 gripe_user_returned_invalid (const char *name); |
59 | 59 |
60 extern void | 60 extern OCTINTERP_API void |
61 gripe_invalid_conversion (const std::string& from, const std::string& to); | 61 gripe_invalid_conversion (const std::string& from, const std::string& to); |
62 | 62 |
63 extern void | 63 extern OCTINTERP_API void |
64 gripe_invalid_value_specified (const char *name); | 64 gripe_invalid_value_specified (const char *name); |
65 | 65 |
66 extern void | 66 extern OCTINTERP_API void |
67 gripe_2_or_3_dim_plot (void); | 67 gripe_2_or_3_dim_plot (void); |
68 | 68 |
69 extern void | 69 extern OCTINTERP_API void |
70 gripe_unrecognized_float_fmt (void); | 70 gripe_unrecognized_float_fmt (void); |
71 | 71 |
72 extern void | 72 extern OCTINTERP_API void |
73 gripe_unrecognized_data_fmt (const char *warn_for); | 73 gripe_unrecognized_data_fmt (const char *warn_for); |
74 | 74 |
75 extern void | 75 extern OCTINTERP_API void |
76 gripe_data_conversion (const char *from, const char *to); | 76 gripe_data_conversion (const char *from, const char *to); |
77 | 77 |
78 extern void | 78 extern OCTINTERP_API void |
79 gripe_wrong_type_arg (const char *name, const char *s, | 79 gripe_wrong_type_arg (const char *name, const char *s, |
80 bool is_error = true); | 80 bool is_error = true); |
81 | 81 |
82 extern void | 82 extern OCTINTERP_API void |
83 gripe_wrong_type_arg (const char *name, const std::string& s, | 83 gripe_wrong_type_arg (const char *name, const std::string& s, |
84 bool is_error = true); | 84 bool is_error = true); |
85 | 85 |
86 extern void | 86 extern OCTINTERP_API void |
87 gripe_wrong_type_arg (const char *name, const octave_value& tc, | 87 gripe_wrong_type_arg (const char *name, const octave_value& tc, |
88 bool is_error = true); | 88 bool is_error = true); |
89 | 89 |
90 extern void | 90 extern OCTINTERP_API void |
91 gripe_wrong_type_arg_for_unary_op (const octave_value& op); | 91 gripe_wrong_type_arg_for_unary_op (const octave_value& op); |
92 | 92 |
93 extern void | 93 extern OCTINTERP_API void |
94 gripe_wrong_type_arg_for_binary_op (const octave_value& op); | 94 gripe_wrong_type_arg_for_binary_op (const octave_value& op); |
95 | 95 |
96 extern void | 96 extern OCTINTERP_API void |
97 gripe_implicit_conversion (const char *id, const char *from, const char *to); | 97 gripe_implicit_conversion (const char *id, const char *from, const char *to); |
98 | 98 |
99 extern void | 99 extern OCTINTERP_API void |
100 gripe_implicit_conversion (const std::string& id, const std::string& from, | 100 gripe_implicit_conversion (const std::string& id, const std::string& from, |
101 const std::string& to); | 101 const std::string& to); |
102 | 102 |
103 extern void | 103 extern OCTINTERP_API void |
104 gripe_divide_by_zero (void); | 104 gripe_divide_by_zero (void); |
105 | 105 |
106 extern void | 106 extern OCTINTERP_API void |
107 gripe_logical_conversion (void); | 107 gripe_logical_conversion (void); |
108 | 108 |
109 #endif | 109 #endif |
110 | 110 |
111 /* | 111 /* |