Mercurial > hg > octave-nkf
diff liboctave/dColVector.cc @ 4552:6f3382e08a52
[project @ 2003-10-27 20:38:02 by jwe]
author | jwe |
---|---|
date | Mon, 27 Oct 2003 20:38:03 +0000 |
parents | 236c10efcde2 |
children | 334a27c8f453 |
line wrap: on
line diff
--- a/liboctave/dColVector.cc +++ b/liboctave/dColVector.cc @@ -41,11 +41,13 @@ extern "C" { - int F77_FUNC (dgemv, DGEMV) (const char*, const int&, const int&, - const double&, const double*, - const int&, const double*, const int&, - const double&, double*, const int&, - long); + F77_RET_T + F77_FUNC (dgemv, DGEMV) (F77_CONST_CHAR_ARG_DECL, + const int&, const int&, const double&, + const double*, const int&, const double*, + const int&, const double&, double*, + const int& + F77_CHAR_ARG_LEN_DECL); } // Column Vector class. @@ -217,8 +219,10 @@ retval.resize (nr); double *y = retval.fortran_vec (); - F77_XFCN (dgemv, DGEMV, ("N", nr, nc, 1.0, m.data (), ld, - a.data (), 1, 0.0, y, 1, 1L)); + F77_XFCN (dgemv, DGEMV, (F77_CONST_CHAR_ARG2 ("N", 1), + nr, nc, 1.0, m.data (), ld, + a.data (), 1, 0.0, y, 1 + F77_CHAR_ARG_LEN (1))); if (f77_exception_encountered) (*current_liboctave_error_handler)