diff 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
line wrap: on
line diff
--- a/liboctave/Array-util.h
+++ b/liboctave/Array-util.h
@@ -91,6 +91,12 @@
 
 extern int OCTAVE_API permute_vector_compare (const void *a, const void *b);
 
+extern OCTAVE_API const char *error_id_nonconformant_args;
+
+extern OCTAVE_API const char *error_id_index_out_of_bounds;
+
+extern OCTAVE_API const char *error_id_invalid_index;
+
 extern void OCTAVE_API gripe_nan_to_logical_conversion (void);
 
 extern void OCTAVE_API gripe_nonconformant (const char *op, int op1_len, int op2_len);
@@ -108,4 +114,6 @@
 extern void OCTAVE_API gripe_del_index_out_of_range (bool is1d, octave_idx_type iext, 
                                                      octave_idx_type ext);
 
+extern void OCTAVE_API gripe_invalid_index (void);
+
 #endif