diff liboctave/PermMatrix.h @ 9237:3c1762c7e787

Add missing xxx_API decoration and remove misplaced ones
author Michael Goffioul <michael.goffioul@gmail.com>
date Thu, 21 May 2009 21:28:47 +0100
parents 6ccc12cc65ef
children 7c6d5d8c8d37
line wrap: on
line diff
--- a/liboctave/PermMatrix.h
+++ b/liboctave/PermMatrix.h
@@ -29,7 +29,7 @@
 // Array<T> is inherited privately so that some methods, like index, don't
 // produce unexpected results.
 
-class PermMatrix : protected Array<octave_idx_type>
+class OCTAVE_API PermMatrix : protected Array<octave_idx_type>
 {
 
 public:
@@ -103,7 +103,7 @@
   bool is_col_perm (void) const { return _colp; }
   bool is_row_perm (void) const { return !_colp; }
 
-  friend PermMatrix operator *(const PermMatrix& a, const PermMatrix& b);
+  friend OCTAVE_API PermMatrix operator *(const PermMatrix& a, const PermMatrix& b);
 
   const octave_idx_type *data (void) const 
     { return Array<octave_idx_type>::data (); }
@@ -123,6 +123,7 @@
 
 // Multiplying permutations together.
 PermMatrix 
+OCTAVE_API
 operator *(const PermMatrix& a, const PermMatrix& b);
 
 #endif