Mercurial > hg > octave-nkf
diff liboctave/sparse-util.h @ 8207:60b4c75287a1
fix for SuiteSparse 3.2
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Fri, 10 Oct 2008 16:44:21 +0200 |
parents | a1dbe9d80eee |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/liboctave/sparse-util.h +++ b/liboctave/sparse-util.h @@ -24,7 +24,11 @@ #if !defined (octave_sparse_util_h) #define octave_sparse_util_h 1 -extern OCTAVE_API void SparseCholError (int status, char *file, int line, char *message); +// FIXME this overload is here due to API change in SuiteSparse (3.1 -> 3.2) +extern OCTAVE_API void SparseCholError (int status, char *file, + int line, char *message); +extern OCTAVE_API void SparseCholError (int status, const char *file, + int line, const char *message); extern OCTAVE_API int SparseCholPrint (const char *fmt, ...); #endif