Mercurial > hg > octave-lyh
diff src/error.h @ 7977:065c28e1c368
Modify Fcellfun to directly access the error message/id rather than use a call to Flasterr
author | David Bateman <dbateman@free.fr> |
---|---|
date | Mon, 28 Jul 2008 10:50:46 +0200 |
parents | 516ddd88e45a |
children | 892e2aa7bc75 |
line wrap: on
line diff
--- a/src/error.h +++ b/src/error.h @@ -114,6 +114,12 @@ // TRUE means warning messages are turned off. extern OCTINTERP_API bool discard_warning_messages; +// Helper functions to pass last error and warning messages and ids +extern OCTINTERP_API std::string last_error_message (void); +extern OCTINTERP_API std::string last_error_id (void); +extern OCTINTERP_API std::string last_warning_message (void); +extern OCTINTERP_API std::string last_warning_id (void); + #endif /*