comparison liboctave/util/lo-array-errwarn.h @ 21111:7bb96a8df912

lo-array-errwarn.h: Don't export string constants unnecessarily. * lo-array-errwarn.h: Delete "extern const char * [error|warning]_id_XXX" declarations. * ov-complex.cc (complex_index_exception::err_id): Use string literal rather than error_id_invalid_index constant from lo-array-errwarn.h. * lo-array-errwarn.cc: Declare and initialize "static const char * [error_warning]_id_XXX]" variables. * lo-array-gripes.cc: Declare and initialize "static const char * [error_warning]_id_XXX]" variables.
author Rik <rik@octave.org>
date Tue, 19 Jan 2016 15:08:59 -0800
parents e39e05d90788
children 358aa7fcbd33
comparison
equal deleted inserted replaced
21110:3d0d84305600 21111:7bb96a8df912
97 // Name of variable being indexed. 97 // Name of variable being indexed.
98 std::string var; 98 std::string var;
99 99
100 }; 100 };
101 101
102 extern OCTAVE_API const char *error_id_nonconformant_args;
103
104 extern OCTAVE_API const char *error_id_index_out_of_bounds;
105
106 extern OCTAVE_API const char *error_id_invalid_index;
107
108 extern OCTAVE_API const char *warning_id_nearly_singular_matrix;
109
110 extern OCTAVE_API const char *warning_id_singular_matrix;
111
112 OCTAVE_NORETURN OCTAVE_API extern 102 OCTAVE_NORETURN OCTAVE_API extern
113 void err_nan_to_logical_conversion (void); 103 void err_nan_to_logical_conversion (void);
114 104
115 OCTAVE_NORETURN OCTAVE_API extern 105 OCTAVE_NORETURN OCTAVE_API extern
116 void err_nan_to_character_conversion (void); 106 void err_nan_to_character_conversion (void);