comparison liboctave/Array-util.h @ 10370:9c4daf174387

implement IDs for common liboctave exceptions
author Jaroslav Hajek <highegg@gmail.com>
date Sun, 28 Feb 2010 08:19:49 +0100
parents e5ae13b8b2c2
children 0677c5d80b77
comparison
equal deleted inserted replaced
10369:3516a245d607 10370:9c4daf174387
89 octave_idx_type iidx; 89 octave_idx_type iidx;
90 }; 90 };
91 91
92 extern int OCTAVE_API permute_vector_compare (const void *a, const void *b); 92 extern int OCTAVE_API permute_vector_compare (const void *a, const void *b);
93 93
94 extern OCTAVE_API const char *error_id_nonconformant_args;
95
96 extern OCTAVE_API const char *error_id_index_out_of_bounds;
97
98 extern OCTAVE_API const char *error_id_invalid_index;
99
94 extern void OCTAVE_API gripe_nan_to_logical_conversion (void); 100 extern void OCTAVE_API gripe_nan_to_logical_conversion (void);
95 101
96 extern void OCTAVE_API gripe_nonconformant (const char *op, int op1_len, int op2_len); 102 extern void OCTAVE_API gripe_nonconformant (const char *op, int op1_len, int op2_len);
97 103
98 extern void OCTAVE_API gripe_nonconformant (const char *op, int op1_nr, int op1_nc, 104 extern void OCTAVE_API gripe_nonconformant (const char *op, int op1_nr, int op1_nc,
106 octave_idx_type iext, octave_idx_type ext); 112 octave_idx_type iext, octave_idx_type ext);
107 113
108 extern void OCTAVE_API gripe_del_index_out_of_range (bool is1d, octave_idx_type iext, 114 extern void OCTAVE_API gripe_del_index_out_of_range (bool is1d, octave_idx_type iext,
109 octave_idx_type ext); 115 octave_idx_type ext);
110 116
117 extern void OCTAVE_API gripe_invalid_index (void);
118
111 #endif 119 #endif